Fixes #11572 Correct mistake in a comment
This commit is contained in:
parent
b02249521b
commit
7ef4388f15
@ -53,7 +53,7 @@ class CrunchyrollBaseIE(InfoExtractor):
|
|||||||
print 'cfscrape not found. Please install it if you want use login function for CrunchyRoll.'
|
print 'cfscrape not found. Please install it if you want use login function for CrunchyRoll.'
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Scrape cookie from cloudfront and insert them
|
# Scrape cookie from cloudflare and insert them
|
||||||
scraper = cfscrape.create_scraper()
|
scraper = cfscrape.create_scraper()
|
||||||
tokens = scraper.get_tokens(self._LOGIN_URL, std_headers['User-Agent'])
|
tokens = scraper.get_tokens(self._LOGIN_URL, std_headers['User-Agent'])
|
||||||
self._set_crunchyroll_cookie('cf_clearance', tokens[0]['cf_clearance'])
|
self._set_crunchyroll_cookie('cf_clearance', tokens[0]['cf_clearance'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user