Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find title in FB download #3299

Closed
Gumnos opened this issue Jul 20, 2014 · 2 comments
Closed

Unable to find title in FB download #3299

Gumnos opened this issue Jul 20, 2014 · 2 comments

Comments

@Gumnos
Copy link

@Gumnos Gumnos commented Jul 20, 2014

Running from the latest master branch of the github code. It's a public FB video but ytdl seems to have problems finding the title:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--prefer-free-formats', 'https://www.facebook.com/photo.php?v=835317159813312']
[debug] youtube-dl version 2013.08.09
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.6
[debug] Proxy map: {}
[facebook] 835317159813312: Downloading webpage
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/tim/bin/downloads/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "/home/tim/bin/downloads/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 96, in extract
return self._real_extract(url)
File "/home/tim/bin/downloads/youtube-dl/youtube-dl/youtube_dl/extractor/facebook.py", line 110, in _real_extract
webpage, u'title')
File "/home/tim/bin/downloads/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 230, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags)
File "/home/tim/bin/downloads/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 220, in _search_regex
raise ExtractorError(u'Unable to extract %s' % _name)
ExtractorError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 20, 2014

You are running a one year old version, how did you download the master branch? It works fine in the last versions. You'll need to upgrade, there are different options:

  • Run sudo youtube-dl -U
  • If you used git, run git pull on the source directory.
  • If you used pip, run pip install -U youtube_dl.
@jaimeMF jaimeMF closed this Jul 20, 2014
@Gumnos
Copy link
Author

@Gumnos Gumnos commented Jul 20, 2014

It turns out that "git pull" was insufficient because the youtube-dl binary updates itself. Running "git status" showed that it had been modified. I did a "git checkout youtube-dl" to reset to the baseline to master, then ran it again which modified the binary ("git status" shows that it's modified again). Once I performed those steps to rebuild the "youtube-dl" binary, it all works as expected. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.