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

'Name of service not known' when used with tv.nrk.no #16690

Closed
ardevd opened this issue Jun 10, 2018 · 0 comments
Closed

'Name of service not known' when used with tv.nrk.no #16690

ardevd opened this issue Jun 10, 2018 · 0 comments

Comments

@ardevd
Copy link

@ardevd ardevd commented Jun 10, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.06.11. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.06.11

Before submitting an issue make sure you have:

  • [x ] At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

When downloading a video clip from https://tv.nrk.no I get a Name or service not known error.

youtube-dl -v https://tv.nrk.no/serie/sangfoni/MSUS49000916/sesong-2/episode-9
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://tv.nrk.no/serie/sangfoni/MSUS49000916/sesong-2/episode-9']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.05.18
[debug] Python version 3.6.5 (CPython) - Linux-4.16.14-300.fc28.x86_64-x86_64-with-fedora-28-Twenty_Eight
[debug] exe versions: none
[debug] Proxy map: {}
[debug] Using fake IP 84.215.48.165 (NO) as X-Forwarded-For.
[NRKTV] MSUS49000916: Downloading mediaelement JSON
ERROR: Unable to download JSON metadata: <urlopen error [Errno -2] Name or service not known> (caused by URLError(gaierror(-2, 'Name or service not known'),))
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 582, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2210, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/lib64/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/site-packages/youtube_dl/utils.py", line 944, in http_open
    req)
  File "/usr/lib64/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)

Also, fyi.

# youtube-dl --version
2018.06.11

The issue seems to affect all content on NRK's web based platform.

@dstftw dstftw closed this in 93cffb1 Jun 10, 2018
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
1 participant
You can’t perform that action at this time.