Comment 8 for bug 1060813

Revision history for this message
Bryce Harrington (bryce) wrote :

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