aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/platzi.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/platzi.py')
-rw-r--r--hypervideo_dl/extractor/platzi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hypervideo_dl/extractor/platzi.py b/hypervideo_dl/extractor/platzi.py
index b8a4414..166b98c 100644
--- a/hypervideo_dl/extractor/platzi.py
+++ b/hypervideo_dl/extractor/platzi.py
@@ -36,7 +36,7 @@ class PlatziBaseIE(InfoExtractor):
headers={'Referer': self._LOGIN_URL})
# login succeeded
- if 'platzi.com/login' not in urlh.geturl():
+ if 'platzi.com/login' not in urlh.url:
return
login_error = self._webpage_read_content(