rt2yrru / get-flash-videos

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

Unable to download videos #471

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. enter command plus url
2.hit enter
3.wait

What is the expected output? What do you see instead?
the downloading of a video

What version of the product are you using? On what operating system?
laest version

Please provide any additional information below.

I'm not actually sure if this is a valid bug.. I believe everything is 
installed correctly and I even installed the optional modules to make sure it 
would work.

./get_flash_videos https://vimeo.com/60936025 --debug
No plugins installed
Downloading https://vimeo.com/60936025
-> GET https://vimeo.com/60936025
<- 302 text/html; charset=UTF-8 (0): UTF8 on, ASCII, 0 characters 0 bytes
Using method 'vimeo' for https://vimeo.com/60936025
-> GET 
http://vimeo.com/moogaloop/load/clip:60936025/embed?param_fullscreen=1&param_cli
p_id=60936025&param_show_byline=0&param_server=vimeo.com&param_color=cc6600&para
m_show_portrait=0&param_show_title=1
<- 404 text/html; charset=UTF-8 (24867): UTF8 on, non-ASCII, 24867 characters 
24873 bytes
Error: 
mismatched tag at line 26, column 2, byte 1401 at 
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/XML/Parser.pm line 
187
 (from FlashVideo::Site::Vimeo::./get_flash_videos::15463)

Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.

Same issue for trying to download a youtube file.

Original issue reported on code.google.com by DJ.Ezmyr...@gmail.com on 6 Mar 2013 at 12:45

GoogleCodeExporter commented 8 years ago
There have been some problems with issues being deleted, this was one... I have 
just restored this one.. 

Your problem, this is what I get....

$ get_flash_videos https://vimeo.com/60936025 
Using method 'vimeo' for https://vimeo.com/60936025
Downloading https://vimeo.com/60936025
Use of uninitialized value $quality in lc at 
/usr/local/libdata/perl5/site_perl/FlashVideo/Site/Vimeo.pm line 23.
Use of uninitialized value $sig in concatenation (.) or string at 
/usr/local/libdata/perl5/site_perl/FlashVideo/Site/Vimeo.pm line 31.
Use of uninitialized value $time in concatenation (.) or string at 
/usr/local/libdata/perl5/site_perl/FlashVideo/Site/Vimeo.pm line 31.
Use of uninitialized value $sig in concatenation (.) or string at 
/usr/local/libdata/perl5/site_perl/FlashVideo/Site/Vimeo.pm line 37.
Use of uninitialized value $time in concatenation (.) or string at 
/usr/local/libdata/perl5/site_perl/FlashVideo/Site/Vimeo.pm line 37.

Using debug... I get this...

$ get_flash_videos --debug https://vimeo.com/60936025
5 plugins installed:
- Channel5.pm
- Hulu.pm
- Telequebec.pm
- Nbc.pm
- Divxstage.pm
Trying to open plugin ~/.get_flash_videos/plugins/Vimeo.pm
Using method 'vimeo' for https://vimeo.com/60936025
Downloading https://vimeo.com/60936025
-> GET https://vimeo.com/60936025
<- 302 text/html; charset=UTF-8 (0): UTF8 on, ASCII, 0 characters 0 bytes
Use of uninitialized value $quality in lc at 
/usr/local/libdata/perl5/site_perl/FlashVideo/Site/Vimeo.pm line 23.
-> GET http://vimeo.com/api/oembed.json?url=http://vimeo.com/60936025

HTTP Status Code 302 is a redirection... it redirects to 
http://vimeo.com/60936025

Uasing that instead, the video downloads...

$ get_flash_videos http://vimeo.com/60936025          
Using method 'vimeo' for http://vimeo.com/60936025
Downloading http://vimeo.com/60936025
Downloading 
http://pdl.vimeocdn.com/14901/969/148865558.mp4?aksessionid=44de92c1cb13d3cf6e23
e61cb87b21e8&token=1362785577_9522b79fe9dd3d9e276c8d1602ed4b6d...
Equateur-Aquila.flv: 0% (155.86 / 64843.67 KiB)^C

This an issue within the plugin, handling redirection, slightly different 
result might be my using the latest version, I updated last evening.
If you correctly specified https rather than http, then what needed is a 
redirection check in the plugin.

Original comment by njtaylor...@gmail.com on 8 Mar 2013 at 9:48

GoogleCodeExporter commented 8 years ago
This is with additional redirection code.

$ get_flash_videos https://vimeo.com/60936025         
Using method 'vimeo' plugin version 0.01 for https://vimeo.com/60936025
Downloading https://vimeo.com/60936025
Relocated to http://vimeo.com/60936025
Downloading 
http://pdl.vimeocdn.com/14901/969/148865558.mp4?aksessionid=1990baa1aff9a140db03
0c1932a9216b&token=1362837772_2cc91884de6b57450c52730251c9e9d7...
Equateur-Aquila.flv: 4% (2661.21 / 64843.67 KiB)^C

This will be included in the next update. This issue can be closed.

Original comment by njtaylor...@gmail.com on 9 Mar 2013 at 12:44

GoogleCodeExporter commented 8 years ago
merged pull request.

Original comment by njtaylor...@gmail.com on 9 Mar 2013 at 2:21