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

[TNAFlix] UnicodeError: label empty or too long #10434

Closed
ghost opened this issue Aug 25, 2016 · 0 comments
Closed

[TNAFlix] UnicodeError: label empty or too long #10434

ghost opened this issue Aug 25, 2016 · 0 comments

Comments

@ghost
Copy link

@ghost ghost commented Aug 25, 2016

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

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

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
$ y -v https://www.tnaflix.com/interracial-porn/Alura-Jenson-and-Piper-Pperri/video2209084
[debug] System config: []
[debug] User config: ['-4', '-f', 'best', '--prefer-free-formats', '--no-cache-dir', '--no-mtime', '--youtube-skip-dash-manifest']
[debug] Command-line args: ['-v', 'https://www.tnaflix.com/interracial-porn/Alura-Jenson-and-Piper-Pperri/video2209084']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.24.1
[debug] Python version 3.6.0a4 - Linux-4.7.0-rc7-686-i686-with-debian-stretch-sid
[debug] exe versions: ffmpeg 3.1.2, ffprobe 3.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[TNAFlix] Alura-Jenson-and-Piper-Pperri: Downloading webpage
[TNAFlix] Alura-Jenson-and-Piper-Pperri: Downloading metadata
[debug] Invoking downloader on 'https://.tnaflix.com/dev25/0/015/109/0015109612.mp4?key=12506818c4718641d7ed957f1ce89b6c&src=tna&hd=1&domain=tna1080p_60fps'
Traceback (most recent call last):
  File "/usr/lib/python3.6/encodings/idna.py", line 165, in encode
    raise UnicodeError("label empty or too long")
UnicodeError: label empty or too long

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2016.8.24.1', 'console_scripts', 'youtube-dl')()
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/__init__.py", line 433, in main
    _real_main(argv)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/__init__.py", line 423, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/YoutubeDL.py", line 1788, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/YoutubeDL.py", line 702, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/YoutubeDL.py", line 748, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/YoutubeDL.py", line 1432, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/YoutubeDL.py", line 1696, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/YoutubeDL.py", line 1638, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/downloader/common.py", line 354, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/downloader/http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/YoutubeDL.py", line 1998, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 529, in open
    req = meth(req)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/utils.py", line 867, in http_request
    url_escaped = escape_url(url)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dl/utils.py", line 1922, in escape_url
    netloc=url_parsed.netloc.encode('idna').decode('ascii'),
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)

https://www.tnaflix.com/interracial-porn/Alura-Jenson-and-Piper-Pperri/video2209084

@dstftw dstftw closed this in 6b18a24 Aug 25, 2016
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
0 participants
You can’t perform that action at this time.