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

ValueError: Invalid IPv6 URL #15019

Closed
ghost opened this issue Dec 17, 2017 · 4 comments
Closed

ValueError: Invalid IPv6 URL #15019

ghost opened this issue Dec 17, 2017 · 4 comments

Comments

@ghost
Copy link

@ghost ghost commented Dec 17, 2017

I'm using latest version and have the following issue to download afreecatv video.

$ youtube-dl -v http://vod.afreecatv.com/PLAYER/STATION/28725990
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://vod.afreecatv.com/PLAYER/STATION/28725990']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.12.14
[debug] Python version 3.6.3 - Darwin-17.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4.1, ffprobe 3.4.1
[debug] Proxy map: {}
[afreecatv] 28725990: Downloading XML
[afreecatv] 28725990: Downloading part 1 m3u8 information
Traceback (most recent call last):
File "/Users/insuyu/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Users/insuyu/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/bin/youtube-dl/main.py", line 19, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 465, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 455, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1986, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 784, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 437, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/afreecatv.py", line 234, in _real_extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1343, in _extract_m3u8_formats
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1455, in _parse_m3u8_formats
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1359, in
File "/Users/insuyu/anaconda3/lib/python3.6/urllib/parse.py", line 490, in urljoin
urlparse(url, bscheme, allow_fragments)
File "/Users/insuyu/anaconda3/lib/python3.6/urllib/parse.py", line 366, in urlparse
splitresult = urlsplit(url, scheme, allow_fragments)
File "/Users/insuyu/anaconda3/lib/python3.6/urllib/parse.py", line 439, in urlsplit
raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL
$

how to resolve ValueError: Invalid IPv6 URL issue ?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 17, 2017

Post the output with --dump-pages.

@ghost
Copy link
Author

@ghost ghost commented Dec 17, 2017

The debug file is over 700MB. It does not allow to upload such a big file.

@ghost
Copy link
Author

@ghost ghost commented Dec 17, 2017

Tested with another video which is only 1 min 30 seconds (35MB in dump file)

$ youtube-dl -v --dump-pages http://vod.afreecatv.com/PLAYER/STATION/28927142 > out.txt
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--dump-pages', 'http://vod.afreecatv.com/PLAYER/STATION/28927142']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.12.14
[debug] Python version 3.6.3 - Darwin-17.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4.1, ffprobe 3.4.1
[debug] Proxy map: {}
Traceback (most recent call last):
File "/Users/insuyu/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Users/insuyu/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/bin/youtube-dl/main.py", line 19, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 465, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 455, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1986, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 784, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 437, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/afreecatv.py", line 234, in _real_extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1343, in _extract_m3u8_formats
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1455, in _parse_m3u8_formats
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1359, in
File "/Users/insuyu/anaconda3/lib/python3.6/urllib/parse.py", line 490, in urljoin
urlparse(url, bscheme, allow_fragments)
File "/Users/insuyu/anaconda3/lib/python3.6/urllib/parse.py", line 366, in urlparse
splitresult = urlsplit(url, scheme, allow_fragments)
File "/Users/insuyu/anaconda3/lib/python3.6/urllib/parse.py", line 439, in urlsplit
raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL

dump.zip

@ghost
Copy link
Author

@ghost ghost commented Dec 18, 2017

any progress ?

@dstftw dstftw closed this in 4a109f8 Dec 18, 2017
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.