rt2yrru / get-flash-videos

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

Youtube download fails #453

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. try downloading from youtube 
2. fails
3.

What is the expected output? What do you see instead?
No video downloaded

What version of the product are you using? On what operating system?
get_flash_videos version 1.25 (http://code.google.com/p/get-flash-videos/)
OS: Kubuntu 12.04 Linux fully updated, x86_64 hardware

Please provide any additional information below.
Screenshot:
$ get_flash_videos -f SlavestoSuperstition-RichardDawkins-3of5.mp4 

http://www.youtube.com/watch?v=Utt7k-78bAw
Downloading http://www.youtube.com/watch?v=Utt7k-78bAw
Using method 'youtube' for http://www.youtube.com/watch?v=Utt7k-78bAw
Downloading 
http://o-o---preferred---sn-ci5gupcc-cage---v16---lscache1.c.youtube.com/videopl
ayback?upn=LEeHouNlboU&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbit
s%2Citag%2Csource%2Cupn%2Cexpire&fexp=900504%2C911647%2C914012%2C916613%2C922401
%2C920704%2C912806%2C927201%2C922403%2C925003%2C913546%2C913556%2C916805%2C92020
1%2C901451&expire=1352841977&algorithm=throttle-factor&burst=40&ip=122.179.42.64
&itag=34&sver=3&key=yt1&mt=1352816712&mv=m&source=youtube&ms=au&ipbits=8&factor=
1.25&cp=U0hUR1hPT19MUUNONF9QSVNKOk9lV3BDWFpEZWU1&id=52db7b93eefc6c0c...
Couldn't download 
http://o-o---preferred---sn-ci5gupcc-cage---v16---lscache1.c.youtube.com/videopl
ayback?upn=LEeHouNlboU&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbit
s%2Citag%2Csource%2Cupn%2Cexpire&fexp=900504%2C911647%2C914012%2C916613%2C922401
%2C920704%2C912806%2C927201%2C922403%2C925003%2C913546%2C913556%2C916805%2C92020
1%2C901451&expire=1352841977&algorithm=throttle-factor&burst=40&ip=122.179.42.64
&itag=34&sver=3&key=yt1&mt=1352816712&mv=m&source=youtube&ms=au&ipbits=8&factor=
1.25&cp=U0hUR1hPT19MUUNONF9QSVNKOk9lV3BDWFpEZWU1&id=52db7b93eefc6c0c: 403 
Forbidden
Couldn't download any videos.

$ 

Original issue reported on code.google.com by vaidya.a...@gmail.com on 13 Nov 2012 at 2:30

GoogleCodeExporter commented 8 years ago
I tried this on OpenBSD amd64 current, and then Debian squeeze, both work as 
below...

ntayl01@test:~$ get_flash_videos http://www.youtube.com/watch?v=Utt7k-78bAw
Using method 'youtube' for http://www.youtube.com/watch?v=Utt7k-78bAw
Downloading http://www.youtube.com/watch?v=Utt7k-78bAw
Downloading 
http://o-o---preferred---sn-aigeznee---v16---lscache1.c.youtube.com/videoplaybac
k?upn=F9EeqWjmppA&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Ci
tag%2Csource%2Cupn%2Cexpire&fexp=917000%2C904821%2C900222%2C901458%2C922401%2C92
0704%2C912806%2C927201%2C922403%2C925003%2C913546%2C913556%2C916805%2C920201%2C9
01451&expire=1352849177&algorithm=throttle-factor&burst=40&ip=80.177.13.158&itag
=34&sver=3&key=yt1&mt=1352823314&mv=m&source=youtube&ms=au&ipbits=8&factor=1.25&
cp=U0hUR1hPV19MUUNONF9QSUFCOmdrNzFNdF9tQTRE&id=52db7b93eefc6c0c&signature=790EAA
EA82B905FE50B5C0247A1369183A0A361D.C4C33F09A9874343DDB071B2DF3F4A7AAB6869E7...
Slaves_to_Super-stition_(3_5)_-_Richard_Dawkins.mp4: 7% (3152.41 / 39981.51 
KiB)^C

Likely you are missing one of the later updates made to fix YouTube. v1.25 of 
get_flash_videos suggests a fetch from git, if you cloned the git, do a git 
pull and make install, to update. If you used a package from k/ubuntu last I 
found was 1.25~git2011.09.26-2 this is out of date - you can fix by using git 
clone (shouldn't use this if installed by package), or download 
https://github.com/monsieurvideo/get-flash-videos/blob/master/lib/FlashVideo/Sit
e/Youtube.pm as a raw file and place into ~/.get_flash_videos/plugins - your 
need to remove if you update the package which has a later version. This will 
only update YouTube. If using a package - then the problem should be reported 
to those maintaining the package for Kubuntu, direct them to the downloads here 
for the time being

https://github.com/njtaylor/get-flash-videos/downloads

Another quick fix is from these downloads - download 
combined-get_flash_videos-1.24-git-20121106, place in your home directory and 
run as ./combine-get_flash_videos-1.24-git-20121106 that should also work, it 
contains all the updates in a a single file.

Original comment by njtaylor...@gmail.com on 13 Nov 2012 at 4:51

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Verified in issue 454 for ubuntu that 
combined-get-flash-videos-1.24-git-20121106 works, this is an upgrade issue, 
should be fixed by one of the methods outlined.

Original comment by njtaylor...@gmail.com on 16 Nov 2012 at 12:12