Support [www.]openload.link URLs in the Openload extractor and make the extractor pass flake8; removed TypeError catch
This commit is contained in:
parent
8479ca10b4
commit
91e314d099
@ -140,7 +140,7 @@ class PhantomJSwrapper(object):
|
|||||||
for name in self._TMP_FILE_NAMES:
|
for name in self._TMP_FILE_NAMES:
|
||||||
try:
|
try:
|
||||||
os.remove(self._TMP_FILES[name].name)
|
os.remove(self._TMP_FILES[name].name)
|
||||||
except (OSError, TypeError):
|
except OSError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def _save_cookies(self, url):
|
def _save_cookies(self, url):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user