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

ExtractorError: Invalid URL #1398

Closed
kctong529 opened this issue Sep 9, 2013 · 2 comments
Closed

ExtractorError: Invalid URL #1398

kctong529 opened this issue Sep 9, 2013 · 2 comments

Comments

@kctong529
Copy link

@kctong529 kctong529 commented Sep 9, 2013

$ youtube-dl --verbose http://my.tv.sohu.com/pl/5680119/58922695.shtml
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://my.tv.sohu.com/pl/5680119/58922695.shtml']
[debug] youtube-dl version 2013.07.25.2
[debug] Python version 2.7.5 - Darwin-11.4.2-x86_64-i386-64bit
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
[generic] 58922695.shtml: Downloading webpage
[generic] 58922695.shtml: Extracting information
ERROR: Invalid URL: http://my.tv.sohu.com/pl/5680119/58922695.shtml; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 96, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 148, in _real_extract
    raise ExtractorError(u'Invalid URL: %s' % url)
ExtractorError: Invalid URL: http://my.tv.sohu.com/pl/5680119/58922695.shtml; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.
@phihag
Copy link
Contributor

@phihag phihag commented Sep 9, 2013

Thanks for the report. Maybe we should clarify the language; Invalid URL means that youtube-dl doesn't support sohu yet.

@jaimeMF jaimeMF closed this in 6d2d21f Sep 9, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 9, 2013

We actually supported tv.sohu.com urls, but we didn't support my.tv.sohu.com urls.
I support changing the message when a url is not supported (maybe inviting to request it in github)

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.