Kev 69 Posted September 22, 2012 Report Share Posted September 22, 2012 Hi all,I'm trying to download an mp4 file from this page (it's on the right).I tried the change file field but it's still opening up the download prompt box.i'd like to keep the original file name if possible, or a file name given from a variable #filenameThanks in advance Quote Link to post Share on other sites
Enigma 78 Posted September 22, 2012 Report Share Posted September 22, 2012 You can scrape its original location, which is http://stupeflix-1.0.s3.amazonaws.com/9zvzeLiZ6kw2VqEM2bVV/N4aMD/XdLG8BsITli3wmKplKPq/youtube/movie.mp4 Then set that url and download with the browser command "download file".If you want to download multiple links from that site and the videos are all named "movie.mp4" then you'll have to rename all these files yourself.You can do it for example save as $rand 0000000000 - 9999999999.mp4The files are then saved with a random number with a length of 10 characters. Quote Link to post Share on other sites
Kev 69 Posted September 22, 2012 Author Report Share Posted September 22, 2012 Thanks Enigma, How exactly did you find the original location of that file? I am looking at the scrape atttributes and there's no reference to amazonaws in there Quote Link to post Share on other sites
Enigma 78 Posted September 22, 2012 Report Share Posted September 22, 2012 Thanks Enigma, How exactly did you find the original location of that file? I am looking at the scrape atttributes and there's no reference to amazonaws in there I just checked the source code without uBot, just in Firefox.Nothing special. Now do a $page scrape text on the left: file: " and text on the right ", Add to a list or set a variable and Download File. Quote Link to post Share on other sites
Kev 69 Posted September 22, 2012 Author Report Share Posted September 22, 2012 Great, thanks Enigma. I'll try that soon. I appreciate the help. Quote Link to post Share on other sites
Enigma 78 Posted September 22, 2012 Report Share Posted September 22, 2012 you're welcome Quote Link to post Share on other sites
Kev 69 Posted September 22, 2012 Author Report Share Posted September 22, 2012 Ok I just tried this: set(#downloadurl, $page scrape("file: \"", "\"."), "Global") Unfortunately it's returned nothing for me on that page. What am I doing wrong in that code? Quote Link to post Share on other sites
Kev 69 Posted September 22, 2012 Author Report Share Posted September 22, 2012 Never mindI miss read the post. It's", at the end. Works PERFECTLY, thanks Enigma Quote Link to post Share on other sites
Enigma 78 Posted September 22, 2012 Report Share Posted September 22, 2012 great.you're welcome. Quote Link to post Share on other sites
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.