Update request.py
parent
220f097333
commit
46d7db8fac
|
@ -57,6 +57,7 @@ def setup(func):
|
|||
from selenium import webdriver
|
||||
from anime_downloader.sites.helpers import selescrape
|
||||
sess = selescrape
|
||||
sess.cache = cache
|
||||
except ImportError:
|
||||
sess = cf_session
|
||||
logger.warning("This provider may not work correctly because it requires selenium to work.\nIf you want to install it then run: 'pip install selenium' .")
|
||||
|
|
Loading…
Reference in New Issue