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

collegehumor invlaid URL #1179

Closed
canavan opened this issue Aug 4, 2013 · 3 comments
Closed

collegehumor invlaid URL #1179

canavan opened this issue Aug 4, 2013 · 3 comments

Comments

@canavan
Copy link

@canavan canavan commented Aug 4, 2013

$ ./youtube-dl --verbose http://www.collegehumor.
com/e/6902835
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.collegehumor.com/e/6902835']
[debug] youtube-dl version 2013.08.02
[debug] Python version 2.7.3 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] Proxy map: {'http': 'http://10.2.4.16:3128/', 'https': 'http://10.2.4.16:3128/'}
WARNING: Falling back on generic information extractor.
[generic] 6902835: Downloading webpage
[generic] 6902835: Extracting information
ERROR: Invalid URL: http://www.collegehumor.com/e/6902835; 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 "./youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 96, in extract
return self._real_extract(url)
File "./youtube-dl/youtube_dl/extractor/generic.py", line 148, in _real_extract
raise ExtractorError(u'Invalid URL: %s' % url)
ExtractorError: Invalid URL: http://www.collegehumor.com/e/6902835; 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.

/e/ are embed URLs, http://www.collegehumor.com/video/6902835 works.

@jaimeMF jaimeMF closed this in 39b782b Aug 4, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 4, 2013

Thanks for the report, the problem was actually that it didn't recognized urls that end in '/', http://www.collegehumor.com/video/6902835 was working because it redirects to http://www.collegehumor.com/embed/6902835/how-to-win-a-street-fight-by-just-dodging-punches

@canavan
Copy link
Author

@canavan canavan commented Aug 4, 2013

That was quick. Thanks!

@fictionic
Copy link

@fictionic fictionic commented Jan 6, 2018

The problem has surfaced again, but in a worse form. Trying to download this video gives

[generic] backwards-hardly-working: Requesting header
WARNING: Falling back on generic information extractor.
[generic] backwards-hardly-working: Downloading webpage
[generic] backwards-hardly-working: Extracting information
[generic] 3440739: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 3440739: Downloading webpage
[generic] 3440739: Extracting information
ERROR: Unsupported URL: https://www.collegehumor.com/e/3440739

Note that this only happens for some CollegeHumor videos. Most of them work just fine (they are embedded in a variety of ways).

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.