From 5c83f37658cce25842bb400ff682cba75f34e86e Mon Sep 17 00:00:00 2001 From: AGSPhoenix Date: Mon, 7 Apr 2014 09:09:40 -0400 Subject: [PATCH] Properly handle missing video_id (round 2) This is what happens when you don't read the docs, kids. Fixes #2715 (I think). --- youtube_dl/extractor/teamcoco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/teamcoco.py b/youtube_dl/extractor/teamcoco.py index c86f1e423..368bc1f81 100644 --- a/youtube_dl/extractor/teamcoco.py +++ b/youtube_dl/extractor/teamcoco.py @@ -39,7 +39,7 @@ class TeamcocoIE(InfoExtractor): webpage = self._download_webpage(url, url_title) video_id = mobj.group("video_id") - if video_id == '': + if video_id == '' or video_id == None: video_id = self._html_search_regex( r'