Fails to download videos

Bug #609545 reported by Grasswistle
110
This bug affects 17 people
Affects Status Importance Assigned to Milestone
youtube-dl (Debian)
Fix Released
Unknown
youtube-dl (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: youtube-dl

Binary package hint: youtube-dl

  Installed: 2010.04.04-1
  Candidate: 2010.04.04-1
  Version table:
 *** 2010.04.04-1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

Description: Ubuntu 10.04 LTS
Release: 10.04

I entered the following command and expected youtube-dl to download the video and store it in pwd:
youtube-dl http://www.youtube.com/watch?v=XHFy3YWpRx8

However, youtube-dl yields the following:
[youtube] Setting language
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information
ERROR: format not available for video

I've noticed, in the past, that using different modes sometimes helps when the download fails so I also tried this:
youtube-dl -d http://www.youtube.com/watch?v=XHFy3YWpRx8

Which resulted in:
[youtube] Setting language
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information

I finally tried this:
youtube-dl -b http://www.youtube.com/watch?v=XHFy3YWpRx8

Which gave this:
[youtube] Setting language
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information
[youtube] XHFy3YWpRx8: Format 37 not available
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information
[youtube] XHFy3YWpRx8: Format 22 not available
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information
[youtube] XHFy3YWpRx8: Format 35 not available
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information
[youtube] XHFy3YWpRx8: Format 18 not available
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information
[youtube] XHFy3YWpRx8: Format 34 not available
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information
[youtube] XHFy3YWpRx8: Format 5 not available
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information
[youtube] XHFy3YWpRx8: Format 17 not available
[youtube] XHFy3YWpRx8: Downloading video info webpage
[youtube] XHFy3YWpRx8: Extracting video information
[youtube] XHFy3YWpRx8: Format 13 not available

The video works in the browser; check and enjoy the music! I also tried downloading many other links and experienced the same problem with all of them.

I have been using this utility for more than a year without any problems and it spontaneously (without any changes on my part) stopped working. This leads me to suspect that there has been a change on Youtube's side.

Revision history for this message
Miciah Dashiel Butler Masters (miciah) wrote :

The bug has been reported and fixed upstream:

   http://bitbucket.org/rg3/youtube-dl/issue/164/youtube-dl-20100714-does-not-download

I hope to see the patch in Ubuntu soon.

Thanks for maintaining the package!

Revision history for this message
Miciah Dashiel Butler Masters (miciah) wrote :

FYI, it looks like it has been reported and fixed in Debian already:

   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589974

Revision history for this message
Grasswistle (grasswistle) wrote :

So does that mean that the fixed package will eventually be merged with the Ubuntu repositories?

How would one using, say Ubuntu 9.04, gain access to the fixed package in the meantime?

Revision history for this message
Mikhail Turov (groldster) wrote :

this bug fixed in maverick:

youtube-dl (2010.07.22-1) unstable; urgency=medium

  * Urgency set to medium due to changes in the site
  * New upstream release:
    + make youtube-dl work again. Closes: #589974.
    + removed command line options -b and -f.
  * debian/NEWS:
    + document the removal of command line options and the new behavior.
  * debian/patches:
    + disabled for the moment.
  * debian/control:
    + include the support of dailymotion in the long description.
    + update the standards version to 3.9.0, with no other changes.
 -- Alessio Treglia <email address hidden> Thu, 22 Jul 2010 18:58:29 -0300

Revision history for this message
Mikhail Turov (groldster) wrote :

Grasswistle, it means that in maverick it already fixed and for 10.04 we need start SRU procedure (https://wiki.ubuntu.com/SRU)

Changed in youtube-dl (Ubuntu):
status: New → Fix Released
Changed in youtube-dl (Debian):
status: Unknown → Fix Released
Revision history for this message
Rogério Theodoro de Brito (rbrito) wrote :

Just one silly question:

Why is the changelog listed in comment #4 exactly like the one that I uploaded to Debian, with all comments and even the date, time and timezone of my own, but with my name nowhere in that changelog? Am I missing something?

While the program is in the Public Domain my packaging isn't.

Regards, Rogério Brito.

Revision history for this message
Stormdawn (stormdawn) wrote :

Any chance of getting this fixed in 10.04?

Revision history for this message
Rogério Theodoro de Brito (rbrito) wrote : Re: [Bug 609545] Re: Fails to download videos

Hi.

On Sun, Sep 12, 2010 at 10:15, Stormdawn <email address hidden> wrote:
> Any chance of getting this fixed in 10.04?

I don't know the modus operandi to get a new version of my packages
updated with ubuntu, but you can freely grab the version that I have
been uploading to Debian.

Regards,

--
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

Revision history for this message
Stormdawn (stormdawn) wrote :

I don't really know that either, just started to participate in reporting bugs here at launchpad. Anyway, I've found the correct procedure for an Ubuntu stable release update: https://wiki.ubuntu.com/StableReleaseUpdates?action=show&redirect=Procedure#Procedure

It would be nice to have it fixed since the current LTS version is supported for 3 years.

Revision history for this message
Rogério Theodoro de Brito (rbrito) wrote :

Hi there.

I can't even remember the version that comes with lucid (and the bug report apparently doesn't contain the version of the package).

Anyway, my recommended answer in this case is to just go grab the versions that I upload to Debian sid, as they are usually released only two or three days at most after upstream releases something and it is not unusual for me to include some patches that may happen to be in future versions.

That being said, I don't know which procedures I should follow to sync my packages in Debian with the ones in Ubuntu. If anybody could educate me, that would be great, as I have some other packages that are in need of a refresh.

Failing all that, I can try to keep an uploaded version of the packages on my PPA, if that's OK with you guys.

Regards, Rogério Brito.

Revision history for this message
Rogério Theodoro de Brito (rbrito) wrote :

Hi there.

On Sep 13 2010, Stormdawn wrote:
> https://wiki.ubuntu.com/StableReleaseUpdates?action=show&redirect=Procedure#Procedure

Thanks for the link. It is a bit bureaucratic, but I will try to address
that, since lucid is a LTS distro.

Thanks, Rogério Brito.

--
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

Revision history for this message
Grasswistle (grasswistle) wrote :

I don't know what version is being used in Debian, but I'm running 10.10 and this bug (or a similar one) is recurring... I remember this was fixed back in July for 10.10 and that it had not been merged with 10.04 yet, but I'm having a similar problem again.

Here are some outputs:

lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

apt-cache policy youtube-dl
youtube-dl:
  Installé : 2010.08.04-1
  Candidat : 2010.08.04-1
 Table de version :
 *** 2010.08.04-1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
        100 /var/lib/dpkg/status

youtube-dl http://www.youtube.com/watch?v=z1rYmzQ8C9Q
[youtube] Setting language
[youtube] z1rYmzQ8C9Q: Downloading video webpage
[youtube] z1rYmzQ8C9Q: Downloading video info webpage
[youtube] z1rYmzQ8C9Q: Extracting video information
ERROR: unable to download video (format may not be available)

I've tried to download a number of different videos and I always get this same error message. Notice that the error message is similar, but subtly different, from the one I was getting in July.

Again, I have ascertained that the video works in the browser (if you are looking for good music, I think you should check out the youtube link...)

Let me know if I can help in any way.
Grasswistle

Revision history for this message
Rogério Theodoro de Brito (rbrito) wrote :

Hi there.

On Wed, Dec 22, 2010 at 14:38, Grasswistle <email address hidden> wrote:
> I don't know what version is being used in Debian, but I'm running 10.10
> and this bug (or a similar one) is recurring... I remember this was
> fixed back in July for 10.10 and that it had not been merged with 10.04
> yet, but I'm having a similar problem again.

And it is fixed again in Debian unstable. Version 2010.12.09-1 in the
Debian repository fixes this problem.

Unfortunately, I can't upload a fix to Ubuntu for the packages that I
maintain in Debian.

If I could, then things would be much smoother, as I usually upload a
new package in one or two days of an upstream new release (and, in
fact, I am closely following upstream, also proposing some patches and
so on).

Of course, given the volatile nature of youtube-dl, some measures to
handle the frequent fixes should be taken. In the mean time, I may
offer one package in a PPA, if that's desired.

Regards,

--
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

Revision history for this message
Grasswistle (grasswistle) wrote :

I just want to confirm that version 2010.12.09-1 for Debian unstable fixed the problems I was experiencing.

I think that a separate PPA would be very useful for youtube-dl. As you said, this package requires tweaking too often; this makes it very difficult to include it in conventional repos consistently.

Thanks,
Grasswistle

Changed in youtube-dl (Ubuntu Lucid):
status: New → Confirmed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in youtube-dl (Ubuntu Lucid):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.