nemesis 0 Posted February 20, 2011 Report Share Posted February 20, 2011 I want to build a bot that downloads videos from dailymotion but so far I'm stuck at find the video URL from the page.So I navigate to the video's page and then I think I should scrape page for this: addVariable("video", "http://www.dailymotion.com/cdn/FLV-320x240/video/blablabla"); But I can't find that code on the scraped page.Can anyone help me with this please. Quote Link to post Share on other sites
JohnB 255 Posted February 20, 2011 Report Share Posted February 20, 2011 I don't see any method on this site that allows for downloading. Maybe I am missing something. John Quote Link to post Share on other sites
nemesis 0 Posted February 20, 2011 Author Report Share Posted February 20, 2011 If you look at the source code of the page you can see the URL of the .flv and you can download with the browser.Let's check this one: http://www.dailymotion.com/video/xh3mp5_bmw-activee_auto The video URL that I need to scrape is: addVariable("video", "http://www.dailymotion.com/cdn/FLV-320x240/video/xh3mp5_bmw-activee_auto.flv?auth=1298396767.be6b0edda992903e44c89b6a243e741b"); Quote Link to post Share on other sites
JohnB 255 Posted February 20, 2011 Report Share Posted February 20, 2011 Here's what I get: http://www.screencast.com/users/detect2173/folders/Jing/media/9dab90f8-1fb3-4fde-b3c0-3e6f32644e6a Quote Link to post Share on other sites
nemesis 0 Posted February 20, 2011 Author Report Share Posted February 20, 2011 You have to use the whole URL: http://www.dailymotion.com/cdn/FLV-320x240/video/xh3mp5_bmw-activee_auto.flv?auth=1298396767.be6b0edda992903e44c89b6a243e741b Quote Link to post Share on other sites
JohnB 255 Posted February 20, 2011 Report Share Posted February 20, 2011 Ok, here is what I get with the whole url: http://www.screencast.com/users/detect2173/folders/Jing/media/c450fdc4-f699-47a6-8efa-2000212f028c John Quote Link to post Share on other sites
nemesis 0 Posted February 20, 2011 Author Report Share Posted February 20, 2011 http://img816.imageshack.us/i/dm1w.jpg/ Try with firefox, also I'm not logged in to Dailymotion. Quote Link to post Share on other sites
nuc63 27 Posted February 20, 2011 Report Share Posted February 20, 2011 ("video", " );so_player_4d616b10057e3.addVariable("log", "1@@http://logger.dailymotion.com/video/access/xh3mp5?session_id=&referer=&country=CA&key=duhku4pz1v0j10ynmlgxszc&v=4d6194f8&i=44947c72&h=808b3a35e30822177d0851454aca4951"); its embeded in flash I am not sure if this can be done I tried to do it this is the download link to download the video but it pauses after a certain upload rate took like 10 mins to download half a meg at a time Quote Link to post Share on other sites
JohnB 255 Posted February 20, 2011 Report Share Posted February 20, 2011 Yeah, I am basically having the same issue. I will continue to work on a solution for this though. John Quote Link to post Share on other sites
nemesis 0 Posted February 20, 2011 Author Report Share Posted February 20, 2011 Dunno, I downloaded it without any problem: http://www.dailymotion.com/cdn/FLV-320x240/video/xh3mp5_bmw-activee_auto.flv?auth=1298396767.be6b0edda992903e44c89b6a243e741b Quote Link to post Share on other sites
nemesis 0 Posted February 20, 2011 Author Report Share Posted February 20, 2011 JohnB: You have to visit the URL: http://www.dailymotion.com/video/xh3mp5_bmw-activee_auto and look at the source and you'll have a different URL than mine, that's way it was 403 error, cause of the session ID ?auth=1298396767.be6b0edda992903e44c89b6a243e741b. Try your .flv URL and should work. Quote Link to post Share on other sites
nuc63 27 Posted February 20, 2011 Report Share Posted February 20, 2011 JohnB: You have to visit the URL: http://www.dailymotion.com/video/xh3mp5_bmw-activee_auto and look at the source and you'll have a different URL than mine, that's way it was 403 error, cause of the session ID ?auth=1298396767.be6b0edda992903e44c89b6a243e741b. Try your .flv URL and should work.its a flash based video player and I seem to have trouble getting ubot to read the flash code and so does john I could not find a way to scrape the video url for download so far and neither has john Quote Link to post Share on other sites
nemesis 0 Posted February 20, 2011 Author Report Share Posted February 20, 2011 Thanks for trying guys. But how are videos downloaded from youtube, isn't the same thing? Quote Link to post Share on other sites
nemesis 0 Posted February 21, 2011 Author Report Share Posted February 21, 2011 bump Quote Link to post Share on other sites
UBotBuddy 331 Posted February 21, 2011 Report Share Posted February 21, 2011 To my knowledge you do not download from YouTube but rather use their embed codes. Of course, there might be some ways to do it that I am not aware of. I have always uploaded using UBot rather than download. Quote Link to post Share on other sites
nemesis 0 Posted February 21, 2011 Author Report Share Posted February 21, 2011 Hmmm... then my only option so far is to scrape just the URLs and feed them to VDownloader... Quote Link to post Share on other sites
amysmith28 0 Posted February 24, 2011 Report Share Posted February 24, 2011 I prefer to download videos from popular videos sites like YouTube, Daily motion and so on. Compared to your downloading process, I download videos from Daily motion is quite easy. I usually download these videos by a tool Video Downloader Converter. Maybe you can try it to check whether it is indeed useful for you. You can learn more about it from the page get video from Daily motion. Quote Link to post Share on other sites
nemesis 0 Posted February 24, 2011 Author Report Share Posted February 24, 2011 VDownloader can also download and is free. But what I want is to fully automate the whole download process: every day schedule a scraper for a certain keyword -> feed the results to a dowloader -> when the downloads are finished bulk watermark the videos -> then upload.I think I can feed the scraped URLs to VDownloader using winautomation. 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.