X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fplatzi.py;h=23c8256b59dab4a92ae79ef48dc8e3b0adf0ff68;hb=6d874fee2a4b54272c48960f3082072d37a7e0ae;hp=602207bebdd6a01d7f33dbf08302ab5a75ccf207;hpb=31dbd054c801ec14c1ea29a2167b70c980f1d782;p=youtube-dl diff --git a/youtube_dl/extractor/platzi.py b/youtube_dl/extractor/platzi.py index 602207beb..23c8256b5 100644 --- a/youtube_dl/extractor/platzi.py +++ b/youtube_dl/extractor/platzi.py @@ -46,7 +46,7 @@ class PlatziBaseIE(InfoExtractor): headers={'Referer': self._LOGIN_URL}) # login succeeded - if 'platzi.com/login' not in compat_str(urlh.geturl()): + if 'platzi.com/login' not in urlh.geturl(): return login_error = self._webpage_read_content(