Remove no longer needed compat_str around geturl
This commit is contained in:
parent
fca6dba8b8
commit
7947a1f7db
12 changed files with 16 additions and 23 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue