X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fplatzi.py;h=23c8256b59dab4a92ae79ef48dc8e3b0adf0ff68;hb=7947a1f7dbc6ba47a6f22ab67fd330e57c0ef87c;hp=602207bebdd6a01d7f33dbf08302ab5a75ccf207;hpb=fca6dba8b80286ae6d3ca0a60c4799c220a52650;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(