You are not logged in.

#1 2018-11-06 09:55:28

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

youtube-dl netrc error

Hi everybody!

Trying to download a facebook video and got this error

youtube-dl -F https://web.facebook.com/xyz/videos/2115082835190124/ -n
[facebook] Downloading login page
[facebook] Logging in
[facebook] 2115082835190124: Downloading webpage
[facebook] 2115082835190124: Downloading webpage
[facebook] 2115082835190124: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

And then with username and password

youtube-dl -F https://facebook.com/xyz/videos/2115082835190124/ --username xxx --password xxx --verbose
[debug] System config: []
[debug] User config: ['--no-mtime', '--no-part', '-o', '~/Downloads/YT/%(title)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://facebook.com/xyz/videos/2115082835190124/', '--username', 'PRIVATE', '--password', 'PRIVATE', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.11.03
[debug] Python version 3.7.1 (CPython) - Linux-4.18.11-1-ck-ivybridge-x86_64-with-arch
[debug] exe versions: ffmpeg n4.0.3, ffprobe n4.0.3, rtmpdump 2.4
[debug] Proxy map: {}
[facebook] Downloading login page
[facebook] Logging in
[facebook] 2115082835190124: Downloading webpage
[facebook] 2115082835190124: Downloading webpage
[facebook] 2115082835190124: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 605, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Any help is highly appreciated!
Thank you!

Offline

#2 2018-11-06 15:16:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,819

Re: youtube-dl netrc error

Seems to be a known and common problem https://github.com/rg3/youtube-dl/issue … +is%3Aopen
(Remove "is:open" to see lots of duplicates)

Offline

Board footer

Powered by FluxBB