giavoni / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
0 stars 0 forks source link

Enhancement: tudou and heidou #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here's a contribution to support tudou and heidou (hd.toudou.com).  One caveat 
with tudou is that 
they use a CDN to serve their videos and I have noticed that some servers will 
return a 403 for no 
reason.  I've tried to work around this by randomising the server selection.

May I take this opportunity to give a bit more feedback on the download 
progress screen?  I've 
noticed after displaying downloading http://server/video.flv it won't actually 
display the progress 
until 1% is reached.  When I was testing with videos on heidou, 1% percent 
often came to be 2 to 3 
megs and for a while I was wondering why the script was doing nothing while the 
script waited until 
1% was grabbed before displaying the progress bar.  Displaying average speed 
and time taken at 
the end wouldn't hurt either.

Original issue reported on code.google.com by tkshii on 1 Jun 2009 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks again, applied in r170.

I also added a simple change to make the download progress update once a second,
speed and time (maybe actually ETA?) is a bit more work..

Original comment by monsieur...@gmail.com on 2 Jun 2009 at 10:27

GoogleCodeExporter commented 9 years ago
I was testing the program on Tudou and it fails with an error: Video is only 
available 
in unknown file formats (www_flv) at /usr/local/bin/get_flash_videos line 3031.

Original comment by tryagain...@gmail.com on 23 Mar 2010 at 3:28