Open GoogleCodeExporter opened 9 years ago
I have seen some youtube URLs failing on a 301 redirect that is empty.
However,if I try a second time, they often work. Debug example attached. Not
sure if there is a youtube or a get_flash_video problem.
[pwalden@walden3 Videos]$ ~/Download/get-flash-videos/get_flash_videos-1.25 -d
'http://www.youtube.com/watch?v=GegxWRMH5Zk&feature=youtube_gdata'
No plugins installed
Trying to open plugin ~/.get_flash_videos/plugins/Www.pm
Using method 'youtube' plugin version 0.01 for
http://www.youtube.com/watch?v=GegxWRMH5Zk&feature=youtube_gdata
Downloading http://www.youtube.com/watch?v=GegxWRMH5Zk&feature=youtube_gdata
-> GET http://www.youtube.com/watch?v=GegxWRMH5Zk&feature=youtube_gdata
<- 301 text/html; charset=utf-8 (0): UTF8 on, ASCII, 0 characters 0 bytes
Error: Couldn't download URL: 301 Moved Permanently at
/home/pwalden/Download/get-flash-videos/get_flash_videos-1.25 line 10371.
Original comment by pcwal...@comcast.net
on 6 Aug 2014 at 9:00
Attachments:
More on this...sometimes I have to try the download a half dozen times before
it works.
Original comment by pcwal...@comcast.net
on 7 Aug 2014 at 7:41
This sporatic 301 return problem is happenning all the time now. I find I have
to retry at once and usual several times before a successful download,
Is the "301 text/html; charset=utf-8 (0): UTF8 on, ASCII, 0 characters 0 bytes"
a bougus return with 0 bytes?
Otherwise I would expect get_flash_video to redirect to the new URL
Original comment by pcwal...@comcast.net
on 14 Aug 2014 at 10:39
The 301 error is happening all the time now for me. I can no longer download.
Original comment by pcwal...@comcast.net
on 4 Dec 2014 at 5:05
Patched Youtube.pm sub verify_age to accept both 301 and 302 redirects.
Line 382 now looks like:
if ($browser->response->code == 301 || $browser->response->code == 302) {
Original comment by pcwal...@comcast.net
on 4 Dec 2014 at 5:52
Attachments:
You change has been added, thanks. plugin version changed to 0.02.
Issue will be closed if no more problems
Original comment by njtaylor...@gmail.com
on 7 Dec 2014 at 4:04
Original issue reported on code.google.com by
nao...@gmail.com
on 2 Jul 2014 at 8:18Attachments: