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

Broken urlhandle_detect_ext on Python 2.x #9440

Closed
sunk818 opened this issue May 9, 2016 · 4 comments
Closed

Broken urlhandle_detect_ext on Python 2.x #9440

sunk818 opened this issue May 9, 2016 · 4 comments
Labels
bug

Comments

@sunk818
Copy link

@sunk818 sunk818 commented May 9, 2016

Please follow the guide below

E:>youtube-dl --verbose https://hearthis.at/twitchsf/dj-jim-hopkins-totally-bitchin-80s-dance-mix/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://hearthis.at/twitchsf/dj-jim-hopkins-totally-bitchin-80s-dance-mix/']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2016.05.01
[debug] Python version 2.7.10 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 2.8.6, ffprobe 2.8.6, rtmpdump 2.4
[debug] Proxy map: {'ftp': 'ftp://127.0.0.1:8888', 'http': 'http://127.0.0.1:8888', 'https': 'https://127.0.0.1:8888'}
[HearThisAt] twitchsf - dj-jim-hopkins-totally-bitchin-80s-dance-mix: Downloading webpage
[HearThisAt] 811296: Downloading playlist
[HearThisAt] twitchsf - dj-jim-hopkins-totally-bitchin-80s-dance-mix: Determining extension
ERROR: An extractor error has occurred. (caused by KeyError(u'content-disposition',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "youtube_dl\extractor\common.pyo", line 341, in extract
File "youtube_dl\extractor\hearthisat.pyo", line 92, in _real_extract
File "youtube_dl\utils.pyo", line 1969, in urlhandle_detect_ext
File "youtube_dl\utils.pyo", line 1965, in
File "rfc822.pyo", line 393, in getitem
KeyError: u'content-disposition'
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 673, in extract_info
File "youtube_dl\extractor\common.pyo", line 347, in extract
ExtractorError: An extractor error has occurred. (caused by KeyError(u'content-disposition',)); please report this issue on https://yt-dl.org/bug . Make sure yo
u are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@dylziez
Copy link

@dylziez dylziez commented May 9, 2016

https://stream42.hearthis.at/be4472628f02e1fd4500dcafb0d6273a.mp3 is the URL I get by sniffing the request manually, doesn't look like soundcloud

@sunk818
Copy link
Author

@sunk818 sunk818 commented May 9, 2016

Oh, I guess this would be an enhancement request to support yet another domain?

@yan12125 yan12125 added the bug label May 14, 2016
@yan12125 yan12125 changed the title Unable to download hearthis link. Looks like it is soundcloud link, but wrapped in HeartThis Broken urlhandle_detect_ext on Python 2.x May 14, 2016
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 14, 2016

It's not HeartThisAt's fault but youtube-dl's. I'm trying to fix it.

yan12125 added a commit that referenced this issue May 15, 2016
Fixes #7049, related to #9440
@yan12125 yan12125 closed this in cec9727 May 15, 2016
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 15, 2016

Thanks for the report. HearThis.at will function again in the next version.

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
3 participants
You can’t perform that action at this time.