about summary refs log tree commit diff
path: root/youtube_dl/extractor/platzi.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-02-29 19:17:27 +0700
committerSergey M․ <dstftw@gmail.com>2020-02-29 19:19:24 +0700
commit7947a1f7dbc6ba47a6f22ab67fd330e57c0ef87c (patch)
tree6350972931916e7acfced5b5a9bcd2d53e932849 /youtube_dl/extractor/platzi.py
parentfca6dba8b80286ae6d3ca0a60c4799c220a52650 (diff)
downloadyoutube-dl-7947a1f7dbc6ba47a6f22ab67fd330e57c0ef87c.tar.gz
youtube-dl-7947a1f7dbc6ba47a6f22ab67fd330e57c0ef87c.tar.xz
youtube-dl-7947a1f7dbc6ba47a6f22ab67fd330e57c0ef87c.zip
Remove no longer needed compat_str around geturl
Diffstat (limited to 'youtube_dl/extractor/platzi.py')
-rw-r--r--youtube_dl/extractor/platzi.py2
1 files changed, 1 insertions, 1 deletions
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(