On precise with version 2012.02.27-1, I can reproduce the failure to
download youtube videos:

  $ youtube-dl -t https://www.youtube.com/watch?v=kmNRN-l-BJw
  [youtube] Setting language
  [youtube] kmNRN-l-BJw: Downloading video webpage
  [youtube] kmNRN-l-BJw: Downloading video info webpage
  [youtube] kmNRN-l-BJw: Extracting video information

  ERROR: unable to download video

This is an instance of this upstream bug:

  https://github.com/rg3/youtube-dl/issues/427

Which is fixed with this commit:

  https://github.com/rg3/youtube-
dl/commit/9ca667065e7371322e0970421fb4e03f8bd00b9e

With that change applied, the test case passes:

  $ sudo dpkg -i youtube-dl_2012.02.27-1ubuntu0.1_all.deb 
  (Reading database ... 240033 files and directories currently installed.)
  Preparing to replace youtube-dl 2012.02.27-1 (using 
youtube-dl_2012.02.27-1ubuntu0.1_all.deb) ...
  Unpacking replacement youtube-dl ...
  Setting up youtube-dl (2012.02.27-1ubuntu0.1) ...
  Processing triggers for man-db ...

  $ youtube-dl -t https://www.youtube.com/watch?v=kmNRN-l-BJw
  [youtube] Setting language
  [youtube] kmNRN-l-BJw: Downloading video webpage
  [youtube] kmNRN-l-BJw: Downloading video info webpage
  [youtube] kmNRN-l-BJw: Extracting video information
  [download] Destination: MechWarrior_Online_Video_Preview-kmNRN-l-BJw.mp4
  [download] 100.0% of 61.84M at    2.09M/s ETA 00:00


** Description changed:

  SRU Report for youtube-dl in precise/12.04.x
  
  [IMPACT]
  12.04's youtube-dl version 2012.02.27 isn't able to download videos from 
youtube, rendering the package broken/useless
+ 
+ [FIX]
+ Youtube now requires a 'signature' parameter in URLs.  The upstream change 
adds this in a one-line patch.
  
  [TESTCASE]
  Try to download any video from youtube.com, e.g:
  >> youtube-dl -t https://www.youtube.com/watch?v=kmNRN-l-BJw
  [youtube] Setting language
  [youtube] kmNRN-l-BJw: Downloading video webpage
  [youtube] kmNRN-l-BJw: Downloading video info webpage
  [youtube] kmNRN-l-BJw: Extracting video information
  ERROR: unable to download video
  
  [REGRESSION POTENTIAL]
  Regression Potential is Low. The new upstream version (2012.09.27 version 
works and has been tested on Ubuntu quantal/12.10 and Debian sid:
  >> youtube-dl -t https://www.youtube.com/watch?v=kmNRN-l-BJw
  [youtube] Setting language
  [youtube] kmNRN-l-BJw: Downloading video webpage
  [youtube] kmNRN-l-BJw: Downloading video info webpage
  [youtube] kmNRN-l-BJw: Extracting video information
  [download] Destination: MechWarrior_Online_Video_Preview-kmNRN-l-BJw.mp4
  [download] 100.0% of 61.84M at  171.70k/s ETA 00:00
  
  [SOLUTION / WORK-AROUND]
  See comment #6

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1060813

Title:
  [SRU, precise] Current version (2012.02.27) doesn't work anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/youtube-dl/+bug/1060813/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to