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

TeamCoco.com videos returning 404s and other errors #5179

Closed
Fironet opened this issue Mar 11, 2015 · 7 comments
Closed

TeamCoco.com videos returning 404s and other errors #5179

Fironet opened this issue Mar 11, 2015 · 7 comments

Comments

@Fironet
Copy link

@Fironet Fironet commented Mar 11, 2015

Experiencing errors when downloading videos from TeamCoco.com. Video 1 and video 2 I tested with, amongst others. Not sure if the issue is youtube-dl or something my end.

Full log of video 1:

[debug] System config: []
[debug] User config: ['-o', 'M:\\Videos\\%(title)s.%(ext)s', '--restrict-filenames', '--console-title']
[debug] Command-line args: ['http://teamcoco.com/video/full-episode-weds-3-4-conan-in-cuba', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2015.03.03.1
[debug] Python version 2.7.8 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-66742-gf6777ce, ffprobe N-56999-g83fc6c8
[debug] Proxy map: {}
[Teamcoco] full-episode-weds-3-4-conan-in-cuba: Downloading webpage
[Teamcoco] 88035: Downloading embed page
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); 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.
  File "youtube_dl\extractor\common.pyo", line 314, in _request_webpage
  File "youtube_dl\YoutubeDL.pyo", line 1674, in urlopen
  File "urllib2.pyo", line 410, in open
  File "urllib2.pyo", line 523, in http_response
  File "urllib2.pyo", line 448, in error
  File "urllib2.pyo", line 382, in _call_chain
File "urllib2.pyo", line 531, in http_error_default

And the second:

[debug] System config: []
[debug] User config: ['-o', 'M:\\Videos\\%(title)s.%(ext)s', '--restrict-filenames', '--console-title']
[debug] Command-line args: ['http://teamcoco.com/video/clueless-gamer-assassins-creed-unity', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2015.03.03.1
[debug] Python version 2.7.8 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-66742-gf6777ce, ffprobe N-56999-g83fc6c8, rtmpdump 2.4
[debug] Proxy map: {}
[Teamcoco] clueless-gamer-assassins-creed-unity: Downloading webpage
[Teamcoco] 86049: Downloading embed page
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "youtube_dl\__init__.pyo", line 403, in main
  File "youtube_dl\__init__.pyo", line 393, in _real_main
  File "youtube_dl\YoutubeDL.pyo", line 1447, in download
  File "youtube_dl\YoutubeDL.pyo", line 648, in extract_info
  File "youtube_dl\extractor\common.pyo", line 275, in extract
  File "youtube_dl\extractor\teamcoco.pyo", line 63, in _real_extract
TypeError: 'long' object has no attribute '__getitem__'
@naglis
Copy link
Collaborator

@naglis naglis commented Mar 11, 2015

@Fironet, thanks for the report, however, in the future, please open separate issues for seemingly different problems.

The first issue is due to the fact that we use embed pages to extract information, and the video in question (88035) can no longer be embedded.

As for the second issue, I believe it has already been fixed, please upgrade to the latest version (see our FAQ, if you need help updating).

@Fironet
Copy link
Author

@Fironet Fironet commented Mar 11, 2015

Thought they were probably related to the one site, and with the 1000+ other issues didn't think to split them considering it was the same domain, but will do from now on. Thanks for the advice.

Updating to the very latest version fixed the second video which is great. It's a pity the first can't be downloaded. I'll keep the embedding limitation in mind next time it returns a 404.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 11, 2015

Can you play the video on the browser? It doesn't work for me with Firefox or Chrome.

@Fironet
Copy link
Author

@Fironet Fironet commented Mar 12, 2015

Not here on Chrome. I'm thinking it may be a regional restriction. although with some sites (such as CC.com) youtube-dl grabs it just fine.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 13, 2015

If it's only available on the USA, we'll need someone to test if it can be played and downloaded from there.

@kickerofelves
Copy link

@kickerofelves kickerofelves commented Mar 14, 2015

It plays for me in browser. Get the following error:

[debug] System config: []
[debug] User config: ['-wit', '--write-srt', '--sub-lang', 'en', '--restrict-filenames', '-f', '18/43/34/h264-sd/flv/mp4-sd/mp4/rtmp-750/worst/best']
[debug] Command-line args: ['--verbose', 'http://teamcoco.com/video/full-episode-weds-3-4-conan-in-cuba']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.03.09
[debug] Python version 2.7.5+ - Linux-3.10-3-amd64-x86_64-with-debian-jessie-sid
[debug] exe versions: avconv 1.2.4, avprobe 1.2.4, ffmpeg 1.2.4, ffprobe 1.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[Teamcoco] full-episode-weds-3-4-conan-in-cuba: Downloading webpage
ERROR: Unable to extract video id; 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 "/home/damack/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 649, in extract_info
    ie_result = ie.extract(url)
  File "/home/damack/bin/youtube-dl/youtube_dl/extractor/common.py", line 275, in extract
    return self._real_extract(url)
  File "/home/damack/bin/youtube-dl/youtube_dl/extractor/teamcoco.py", line 50, in _real_extract
    self._VIDEO_ID_REGEXES, webpage, 'video id')
  File "/home/damack/bin/youtube-dl/youtube_dl/extractor/common.py", line 557, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/home/damack/bin/youtube-dl/youtube_dl/extractor/common.py", line 547, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

@yan12125 yan12125 closed this in 9c5335a Apr 15, 2015
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Apr 15, 2015

The first video is gone, and I've fixed Teamcoco for downloading the second video mentioned by @Fironet without errors.

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