rt2yrru / get-flash-videos

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

Fails to download YouTube video #469

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. get_flash_videos --debug "http://www.youtube.com/watch?v=beWNrlCZCqo"

What is the expected output? What do you see instead?

Expect to see video being downloaded. Instead I see this:

Downloading http://www.youtube.com/watch?v=beWNrlCZCqo
Using method 'youtube' for http://www.youtube.com/watch?v=beWNrlCZCqo
Error: Unable to find video URL

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

Please confirm the site is using Flash video and if you have Flash available
check that the URL really works(!).

Check for updates by running: /usr/bin/get_flash_videos --update

If the latest version does not support this please open a bug (or
contribute a patch!) at http://code.google.com/p/get-flash-videos/
make sure you include the output with --debug enabled.
Couldn't download any videos.

--------------------------------------------------------------------

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

1.24
Debian GNU/Linux 'Squeeze'

Please provide any additional information below.

Browsing to the URL with IceWeasel plays the video.

Running script with debug flag produces this:

No plugins installed
Downloading http://www.youtube.com/watch?v=beWNrlCZCqo
-> GET http://www.youtube.com/watch?v=beWNrlCZCqo
<- 200 text/html; charset=utf-8 (27615): UTF8 on, ASCII, 27615 characters 27615 
bytes
Trying to open plugin ~/.get_flash_videos/plugins/Www.pm
Trying to open plugin ~/.get_flash_videos/plugins/Youtube.pm
Using method 'youtube' for http://www.youtube.com/watch?v=beWNrlCZCqo
get_youtube_video_info: 
http://www.youtube.com/get_video_info?&video_id=beWNrlCZCqo&el=profilepage&ps=de
fault&eurl=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbeWNrlCZCqo&hl=en_US&t=Gre
g%20Holden%20-%20She%5C
-> GET 
http://www.youtube.com/get_video_info?&video_id=beWNrlCZCqo&el=profilepage&ps=de
fault&eurl=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbeWNrlCZCqo&hl=en_US&t=Gre
g%20Holden%20-%20She%5C
<- 200 application/x-www-form-urlencoded (12705): UTF8 off, ASCII, 12705 
characters 12705 bytes
FlashVideo::Site::Youtube
$VAR1 = {
          'video_verticals' => '[]',
          'ad_channel_code_overlay' => 'invideo_overlay_480x70_cat29,afv_brand,Vertical_211,afv_ugc,yt_mpvid_AATWMfHNTq5P-HhU,yt_cid_2,ytexp_906078.914074.916626.920704.912806.902000.922403.922405.929901.913605.925006.906938.931202.908529.920201.930101.926403.901451,ytdevice_1,ytps_default,ytel_profilepage',
          'avg_rating' => '5.0',
          'keywords' => 'GREG',
          'allow_embed' => '1',
          'video_wall' => '1',
          'iurlsd' => 'http://i3.ytimg.com/vi/beWNrlCZCqo/sddefault.jpg',
          'ptk' => 'youtube_multi',
          'pyv_in_related_cafe_experiment_id' => '',
          'inactive_skippable_threshold' => '600000',
          'ad_flags' => '1',
          'fmt_list' => '44/854x480/99/0/0,35/854x480/9/0/115,43/640x360/99/0/0,34/640x360/9/0/115,18/640x360/9/0/115,5/320x240/7/0/0,36/320x240/99/0/0,17/176x144/99/0/0',
          'cid' => '2',
          'title' => 'GREG',
          'ad_video_pub_id' => 'ca-pub-6219811747049371',
          'pltype' => 'contentugc',
          'author' => 'lottie186',
          'ad_host' => 'ca-host-pub-3080931665236117',
          'timestamp' => '1361409905',
          'video_id' => 'beWNrlCZCqo',
          'adsense_video_doc_id' => 'yt_beWNrlCZCqo',
          'shortform' => 'True',
          'ad3_module' => 'http://s.ytimg.com/yts/swfbin/ad3-vflQoYEV7.swf',
          'watermark' => ',http://s.ytimg.com/yts/img/watermark/youtube_watermark-vflHX6b6E.png,http://s.ytimg.com/yts/img/watermark/youtube_hd_watermark-vflAzLcD6.png',
          'url_encoded_fmt_stream_map' => 'quality=large&itag=44&url=http%3A%2F%2Fr4---sn-no52-jije.c.youtube.com%2Fvideoplayback%3Fnewshard%3Dyes%26expire%3D1361434292%26key%3Dyt1%26mt%3D1361409852%26sver%3D3%26ipbits%3D8%26ms%3Dau%26itag%3D44%26fexp%3D906078%252C914074%252C916626%252C920704%252C912806%252C902000%252C922403%252C922405%252C929901%252C913605%252C925006%252C906938%252C931202%252C908529%252C920201%252C930101%252C926403%252C901451%26gcr%3Dnz%26ratebypass%3Dyes%26source%3Dyoutube%26ip%3D118.82.200.17%26id%3D6de58dae50990aaa%26sparams%3Dcp%252Cgcr%252Cid%252Cip%252Cipbits%252Citag%252Cratebypass%252Csource%252Cupn%252Cexpire%26cp%3DU0hVRlROUl9OTENONV9MSFZDOl9QcEpaZzROc3JH%26upn%3DBgf1ID1DGrI%26mv%3Dm&type=video%2Fwebm%3B codecs%3D%22vp8.0%2C vorbis%22&fallback_host=tc.v7.cache6.c.youtube.com&sig=8BF0578286F1A59562255EC1937F93F1FFB3031E.6A49F533217D949E9E84A88FC6CB2353124782E2,quality=large&itag=35&url=http%3A%2F%2Fr4---sn-no52-jije.c.youtube.com%2Fvideoplayback%3Fnewshard%3Dyes%26expire%3D1361434292%26key%3Dyt1%26factor%3D1.25%26mt%3D1361409852%26ip%3D118.82.200.17%26ipbits%3D8%26ms%3Dau%26itag%3D35%26sver%3D3%26fexp%3D906078%252C914074%252C916626%252C920704%252C912806%252C902000%252C922403%252C922405%252C929901%252C913605%252C925006%252C906938%252C931202%252C908529%252C920201%252C930101%252C926403%252C901451%26gcr%3Dnz%26source%3Dyoutube%26algorithm%3Dthrottle-factor%26burst%3D40%26id%3D6de58dae50990aaa%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cgcr%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26cp%3DU0hVRlROUl9OTENONV9MSFZDOl9QcEpaZzROc3JH%26upn%3DBgf1ID1DGrI%26mv%3Dm&type=video%2Fx-flv&fallback_host=tc.v19.cache8.c.youtube.com&sig=BFFCCC4E74214F325AF8CFB57096C40C8F6C1655.19FB589908EDB56820F29E3A10230F498B4F0996,quality=medium&itag=43&url=http%3A%2F%2Fr4---sn-no52-jije.c.youtube.com%2Fvideoplayback%3Fnewshard%3Dyes%26expire%3D1361434292%26key%3Dyt1%26mt%3D1361409852%26sver%3D3%26ipbits%3D8%26ms%3Dau%26itag%3D43%26fexp%3D906078%252C914074%252C916626%252C920704%252C912806%252C902000%252C922403%252C922405%252C929901%252C913605%252C925006%252C906938%252C931202%252C908529%252C920201%252C930101%252C926403%252C901451%26gcr%3Dnz%26ratebypass%3Dyes%26source%3Dyoutube%26ip%3D118.82.200.17%26id%3D6de58dae50990aaa%26sparams%3Dcp%252Cgcr%252Cid%252Cip%252Cipbits%252Citag%252Cratebypass%252Csource%252Cupn%252Cexpire%26cp%3DU0hVRlROUl9OTENONV9MSFZDOl9QcEpaZzROc3JH%26upn%3DBgf1ID1DGrI%26mv%3Dm&type=video%2Fwebm%3B codecs%3D%22vp8.0%2C vorbis%22&fallback_host=tc.v22.cache6.c.youtube.com&sig=6BDA1FAB3F0E6CD627C24113443EA828BFBDD1E9.618F6DF557650F0CA1771C879854B2E9084629E3,quality=medium&itag=34&url=http%3A%2F%2Fr4---sn-no52-jije.c.youtube.com%2Fvideoplayback%3Fnewshard%3Dyes%26expire%3D1361434292%26key%3Dyt1%26factor%3D1.25%26mt%3D1361409852%26ip%3D118.82.200.17%26ipbits%3D8%26ms%3Dau%26itag%3D34%26sver%3D3%26fexp%3D906078%252C914074%252C916626%252C920704%252C912806%252C902000%252C922403%252C922405%252C929901%252C913605%252C925006%252C906938%252C931202%252C908529%252C920201%252C930101%252C926403%252C901451%26gcr%3Dnz%26source%3Dyoutube%26algorithm%3Dthrottle-factor%26burst%3D40%26id%3D6de58dae50990aaa%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cgcr%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26cp%3DU0hVRlROUl9OTENONV9MSFZDOl9QcEpaZzROc3JH%26upn%3DBgf1ID1DGrI%26mv%3Dm&type=video%2Fx-flv&fallback_host=tc.v8.cache6.c.youtube.com&sig=3E913D6DFE963BF2EA42D358B48D578223953CC8.C985214DAFB48CB19D5DBF1A08D88894AE910982,quality=medium&itag=18&url=http%3A%2F%2Fr4---sn-no52-jije.c.youtube.com%2Fvideoplayback%3Fnewshard%3Dyes%26expire%3D1361434292%26key%3Dyt1%26mt%3D1361409852%26sver%3D3%26ipbits%3D8%26ms%3Dau%26itag%3D18%26fexp%3D906078%252C914074%252C916626%252C920704%252C912806%252C902000%252C922403%252C922405%252C929901%252C913605%252C925006%252C906938%252C931202%252C908529%252C920201%252C930101%252C926403%252C901451%26gcr%3Dnz%26ratebypass%3Dyes%26source%3Dyoutube%26ip%3D118.82.200.17%26id%3D6de58dae50990aaa%26sparams%3Dcp%252Cgcr%252Cid%252Cip%252Cipbits%252Citag%252Cratebypass%252Csource%252Cupn%252Cexpire%26cp%3DU0hVRlROUl9OTENONV9MSFZDOl9QcEpaZzROc3JH%26upn%3DBgf1ID1DGrI%26mv%3Dm&type=video%2Fmp4%3B codecs%3D%22avc1.42001E%2C mp4a.40.2%22&fallback_host=tc.v14.cache1.c.youtube.com&sig=7BB4057EC678FA6B94B74D5BF26ED80CE169E49D.D322DFB5A2C37666FB0A193F95A46D8F945376E1,quality=small&itag=5&url=http%3A%2F%2Fr4---sn-no52-jije.c.youtube.com%2Fvideoplayback%3Fnewshard%3Dyes%26expire%3D1361434292%26key%3Dyt1%26factor%3D1.25%26mt%3D1361409852%26ip%3D118.82.200.17%26ipbits%3D8%26ms%3Dau%26itag%3D5%26sver%3D3%26fexp%3D906078%252C914074%252C916626%252C920704%252C912806%252C902000%252C922403%252C922405%252C929901%252C913605%252C925006%252C906938%252C931202%252C908529%252C920201%252C930101%252C926403%252C901451%26gcr%3Dnz%26source%3Dyoutube%26algorithm%3Dthrottle-factor%26burst%3D40%26id%3D6de58dae50990aaa%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cgcr%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26cp%3DU0hVRlROUl9OTENONV9MSFZDOl9QcEpaZzROc3JH%26upn%3DBgf1ID1DGrI%26mv%3Dm&type=video%2Fx-flv&fallback_host=tc.v7.cache4.c.youtube.com&sig=D89B45EE2330E6C89D85EAEC4074E6415A391ED6.79282C408C3030C9FD2854A00DBDE2C6A651CA82,quality=small&itag=36&url=http%3A%2F%2Fr4---sn-no52-jije.c.youtube.com%2Fvideoplayback%3Fnewshard%3Dyes%26expire%3D1361434292%26key%3Dyt1%26factor%3D1.25%26mt%3D1361409852%26ip%3D118.82.200.17%26ipbits%3D8%26ms%3Dau%26itag%3D36%26sver%3D3%26fexp%3D906078%252C914074%252C916626%252C920704%252C912806%252C902000%252C922403%252C922405%252C929901%252C913605%252C925006%252C906938%252C931202%252C908529%252C920201%252C930101%252C926403%252C901451%26gcr%3Dnz%26source%3Dyoutube%26algorithm%3Dthrottle-factor%26burst%3D40%26id%3D6de58dae50990aaa%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cgcr%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26cp%3DU0hVRlROUl9OTENONV9MSFZDOl9QcEpaZzROc3JH%26upn%3DBgf1ID1DGrI%26mv%3Dm&type=video%2F3gpp%3B codecs%3D%22mp4v.20.3%2C mp4a.40.2%22&fallback_host=tc.v9.cache6.c.youtube.com&sig=827081DA7FCA58A72FE7FDCDCC87A287E730377A.D2B5FFEFF6B996A44439DC84E37F1EEDAA372E9A,quality=small&itag=17&url=http%3A%2F%2Fr4---sn-no52-jije.c.youtube.com%2Fvideoplayback%3Fnewshard%3Dyes%26expire%3D1361434292%26key%3Dyt1%26factor%3D1.25%26mt%3D1361409852%26ip%3D118.82.200.17%26ipbits%3D8%26ms%3Dau%26itag%3D17%26sver%3D3%26fexp%3D906078%252C914074%252C916626%252C920704%252C912806%252C902000%252C922403%252C922405%252C929901%252C913605%252C925006%252C906938%252C931202%252C908529%252C920201%252C930101%252C926403%252C901451%26gcr%3Dnz%26source%3Dyoutube%26algorithm%3Dthrottle-factor%26burst%3D40%26id%3D6de58dae50990aaa%26sparams%3Dalgorithm%252Cburst%252Ccp%252Cfactor%252Cgcr%252Cid%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26cp%3DU0hVRlROUl9OTENONV9MSFZDOl9QcEpaZzROc3JH%26upn%3DBgf1ID1DGrI%26mv%3Dm&type=video%2F3gpp%3B codecs%3D%22mp4v.20.3%2C mp4a.40.2%22&fallback_host=tc.v19.cache5.c.youtube.com&sig=29350DC96542D6280A90FC5F6D8857D0844563E3.AB9F136CA5F11F26799D6094E4ADFCFF491C8CFF',
          'dclk' => 'True',
          'loeid' => '906078,914074,916626',
          'length_seconds' => '218',
          'mpvid' => 'AATWMfHNTq5P-HhU',
          'has_cc' => 'False',
          'no_get_video_log' => '1',
          'ad_logging_flag' => '1',
          'content_owner_name' => 'SonyBMG',
          'afv_ad_tag' => 'http://googleads.g.doubleclick.net/pagead/ads?host=ca-host-pub-3080931665236117&ad_type=text_image_flash&loeid=906078%2C914074%2C916626&description_url=http%3A%2F%2Fwww.youtube.com%2Fvideo%2FbeWNrlCZCqo&client=ca-pub-6219811747049371&hl=en&ytdevice=1&channel=invideo_overlay_480x70_cat29%2Bafv_brand%2BVertical_211%2Bafv_ugc%2Byt_mpvid_AATWMfHNTq5P-HhU%2Byt_cid_2%2Bytexp_906078.914074.916626.920704.912806.902000.922403.922405.929901.913605.925006.906938.931202.908529.920201.930101.926403.901451%2Bytdevice_1%2Bytps_default%2Bytel_profilepage&ht_id=479466',
          'gut_tag' => '/4061/ytpwmpu/main_2',
          'view_count' => '315',
          'allow_ratings' => '1',
          'abd' => '1',
          'mpu' => 'True',
          'muted' => '0',
          'thumbnail_url' => 'http://i3.ytimg.com/vi/beWNrlCZCqo/default.jpg',
          'ad_tag' => 'http://n4061ad.jp.doubleclick.net/N4061/pfadx/com.ytpwmpu.nonprofit/main_2;sz=WIDTHxHEIGHT;kvid=beWNrlCZCqo;kpu=lottie186;kpid=2;u=beWNrlCZCqo|2;mpvid=AATWMfHNTq5P-HhU;plat=pc;kpeid=J094eezRG44Oiu4dYlWC7Q;afct=site_content;afv=1;dc_dedup=1;k5=211;kcr=nz;kga=-1;kgg=-1;klg=en;ko=c;kr=H;kvz=206;nlfb=1;shortform=1;tves=1;ytcat=29;ytdevice=1;ytexp=906078.914074.916626.920704.912806.902000.922403.922405.929901.913605.925006.906938.931202.908529.920201.930101.926403.901451;ytps=default;ytvt=c;!c=2;k2=211;',
          'as_launched_in_country' => '1',
          'storyboard_spec' => 'http://i3.ytimg.com/sb/beWNrlCZCqo/storyboard3_L$L/$N.jpg|48#27#100#10#10#0#default#pa0pgH7_vnmbLd7t8WhHNtN8JAw|80#45#110#10#10#2000#M$M#ZT861t__DIQCJfoJ2GgQfscKoGA|160#90#110#5#5#2000#M$M#hftJ1TrGzkVUm0YAtlVgTF-siyQ',
          'prefetch_ad_live_stream' => 'True',
          'sffb' => 'True',
          'ad_device' => '1',
          'cafe_experiment_id' => '',
          'status' => 'ok',
          'afv_inslate_ad_tag' => 'http://googleads.g.doubleclick.net/pagead/ads?host=ca-host-pub-3080931665236117&ad_type=userchoice&loeid=906078%2C914074%2C916626&description_url=http%3A%2F%2Fwww.youtube.com%2Fvideo%2FbeWNrlCZCqo&client=ca-pub-6219811747049371&hl=en&ytdevice=1&ht_id=479466',
          'oid' => 'Ta2MYghl4Z0lHK1qcf671g',
          'ftoken' => '',
          'supported_without_ads' => '1',
          'vq' => 'auto',
          'host_language' => 'en',
          'afv' => 'True',
          'token' => 'vjVQa1PpcFOFRXAEWYdHrZEb7ghSoqt2GEVv2ibng5c=',
          'plid' => 'AATWMfHNUv6FozPV',
          'fexp' => '906078,914074,916626,920704,912806,902000,922403,922405,929901,913605,925006,906938,931202,908529,920201,930101,926403,901451',
          'sendtmp' => '1',
          'tmi' => '1',
          'account_playback_token' => '',
          'endscreen_module' => 'http://s.ytimg.com/yts/swfbin/endscreen-vfluZZaQL.swf',
          'allowed_ads' => '[8, 1, 2]',
          'track_embed' => '1',
          'ad_eurl' => 'http://www.youtube.com/video/beWNrlCZCqo',
          'ad_host_tier' => '479466'
        };

Exists on http://www.youtube.com/get_video?fmt=37&video_id=beWNrlCZCqo&t=Greg 
Holden - She\: 404
Exists on http://www.youtube.com/get_video?fmt=22&video_id=beWNrlCZCqo&t=Greg 
Holden - She\: 404
Exists on http://www.youtube.com/get_video?fmt=35&video_id=beWNrlCZCqo&t=Greg 
Holden - She\: 404
Exists on http://www.youtube.com/get_video?fmt=34&video_id=beWNrlCZCqo&t=Greg 
Holden - She\: 404
Exists on http://www.youtube.com/get_video?fmt=18&video_id=beWNrlCZCqo&t=Greg 
Holden - She\: 404
Exists on http://www.youtube.com/get_video?fmt=5&video_id=beWNrlCZCqo&t=Greg 
Holden - She\: 404
Exists on http://www.youtube.com/get_video?fmt=13&video_id=beWNrlCZCqo&t=Greg 
Holden - She\: 404
Exists on http://www.youtube.com/get_video?fmt=17&video_id=beWNrlCZCqo&t=Greg 
Holden - She\: 404
Exists on http://www.youtube.com/get_video?fmt=38&video_id=beWNrlCZCqo&t=Greg 
Holden - She\: 404
Exists on http://www.youtube.com/get_video?video_id=beWNrlCZCqo&t=Greg Holden - 
She\: 404
Error: Unable to find video URL

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

Please confirm the site is using Flash video and if you have Flash available
check that the URL really works(!).

Check for updates by running: /usr/bin/get_flash_videos --update

If the latest version does not support this please open a bug (or
contribute a patch!) at http://code.google.com/p/get-flash-videos/
make sure you include the output with --debug enabled.
Couldn't download any videos.

Original issue reported on code.google.com by ajg.je...@gmail.com on 21 Feb 2013 at 1:27

GoogleCodeExporter commented 8 years ago
The download you attempted was tried on OpenBSD amd64 current / with the 
get_flash_video package version 1.24.20130212

$ get_flash_videos http://www.youtube.com/watch?v=beWNrlCZCqo 
Using method 'youtube' for http://www.youtube.com/watch?v=beWNrlCZCqo
Downloading http://www.youtube.com/watch?v=beWNrlCZCqo
Downloading 
http://r10---sn-aig7kney.c.youtube.com/videoplayback?key=yt1&sver=3&mv=m&id=6de5
8dae50990aaa&expire=1361495492&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Ci
d%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&source=youtube&itag=35&ipbits=8&m
s=au&cp=U0hVRlRUU19OTENONV9MTldFOk9JcGFLWTRXRGpZ&algorithm=throttle-factor&ip=80
.177.13.158&upn=R64m9JM9zTI&factor=1.25&fexp=907725%2C911407%2C906440%2C929210%2
C916612%2C920704%2C912806%2C902000%2C922403%2C922405%2C929901%2C913605%2C925006%
2C931202%2C908529%2C920201%2C930101%2C906834%2C901451&mt=1361470694&burst=40&gcr
=gb&newshard=yes&signature=2983EFF81D02F3FE85BBDA985316625CD5E4678C.51B56DEBD57D
70BAD72992DD37FE64C2F66F0E29...
GREG.mp4: 13% (3340.28 / 25606.79 KiB)^C

You are using an out of date version, you can download a later from here

http://code.google.com/p/get-flash-videos/downloads/list

Either get_flash_videos-1.24-git-20130212..... or 
combined-get_flash_videos-1.24-git-20130212 can be downloaded and run from your 
home directory.
You may require the addition Module::Find if using the first option.
You can download App-get_flash_videos-1.24-git-20130212 expand build and 
install.
Or clone my git repository or this and either run direct from the repository or 
build/install.

I also use Debian Sequeeze, I checked using my existing version and that worked 
also, this is slightly behind the OpenbSD version.

This issue will be closed.

Original comment by njtaylor...@gmail.com on 21 Feb 2013 at 6:34

GoogleCodeExporter commented 8 years ago
Thanks for that. I had just grabbed the Debian package without really looking 
at the dates! Now we just need some kind person to create a Debian package of 
the newest version ...

However: the version I was using has an 'update' feature that did not work - 
it just reported that I already had the latest version, which was obviously 
not true. Is this in issue in the latest version too?

Original comment by ajg.je...@gmail.com on 21 Feb 2013 at 10:14

GoogleCodeExporter commented 8 years ago
The update feature should not be used with packaged versions, and should have 
been disabled. There isn't an update to download as yet using the --update 
option, it comes from this site and the latest released version is still set to 
the old 1.24 version.

Debian have some people maintaining the packaging.

Closing as a duplicate of previous YouTube issues.

Original comment by njtaylor...@gmail.com on 21 Feb 2013 at 11:34