korasoglu Posted June 12, 2015 Share Posted June 12, 2015 Arkadaşlar bu linki view-source:https://www.youtube.com/watch?v=FZ3TAbEcPwEtxt olarak kaydedeceğim nasıl yapabilirim. Quote Link to comment Share on other sites More sharing options...
orkuncand Posted June 12, 2015 Share Posted June 12, 2015 Arkadaşlar bu linki view-source:https://www.youtube.com/watch?v=FZ3TAbEcPwEtxt olarak kaydedeceğim nasıl yapabilirim. 1 linke tıkla youtube sayfası açılsın 2 yukarıda explorer veya chrome den veya hangi tarayıcıyı kullanıyorsan adres yazdığın çubuga gel sol tıkla linki seç(karala) sag tık kopyala seç text dosyası aç sağ tık yapıştır. sonra kaydet.. Quote Link to comment Share on other sites More sharing options...
korasoglu Posted June 12, 2015 Author Share Posted June 12, 2015 Harikasın yazılım bölümündeyiz ama söylediklerini hangi kodlar yazıyor göremedim verirsen sevinirim. Quote Link to comment Share on other sites More sharing options...
xarax Posted June 12, 2015 Share Posted June 12, 2015 1 linke tıkla youtube sayfası açılsın 2 yukarıda explorer veya chrome den veya hangi tarayıcıyı kullanıyorsan adres yazdığın çubuga gel sol tıkla linki seç(karala) sag tık kopyala seç text dosyası aç sağ tık yapıştır. sonra kaydet.. yanlış anlamışsın. Sanırım şunu demek istiyor. view-source:https://www.youtube.com/watch?v=FZ3TAbEcPwE bu metni olduğu gibi adres satırına yaz ya da aşağıdaki adres açıkken sağ tıkla "sayfa kaynağını görüntüle" var onu seç. Şimdi çıkan html kodlarını istiyor. https://www.youtube.com/watch?v=FZ3TAbEcPwE @korasoglu AMS de indirme komutuyla sayfayı indirebilirsin diye hatırlıyorum. Autoit te şu kodu kullanıyorum ben. BinaryToString(InetRead("http://adress..",1),4) Quote Link to comment Share on other sites More sharing options...
KintaRo Posted June 12, 2015 Share Posted June 12, 2015 HTTP.Download("https://www.youtube.com/watch?v=FZ3TAbEcPwE", "AutoPlay\\Docs\\dosya.txt", MODE_TEXT, 20, 80, nil, nil, nil) Dialog.Message("", "Dosya Kaydedildi!"); Quote Link to comment Share on other sites More sharing options...
milano88 Posted June 12, 2015 Share Posted June 12, 2015 AMS'nin HTTP'si her sitede çalışmaz sürekli sorun çıkaracaktır veya eksik kaynak çekecektir sorunu tamamen çözmek için aşağıdaki function'u kullanabilirsin function ReadHTML(adress) local Source; local HTTP = luacom.CreateObject("WinHttp.WinHttpRequest.5.1"); if ( HTTP ~= nil ) then HTTP:Open("GET", adress, 0); HTTP:SetRequestHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0"); HTTP:Send(); if ( HTTP.Status == 200 ) then Source = HTTP.ResponseBody; end end return Source; end NOT : https:// protokolü ile başlayan url'lerde HTTP.Download() değil HTTP.DownloadSecure() kullanman lazım aynı şey HTTP.Submit() içinde geçerli Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.