Fixes #11572 Correct mistake in a comment

This commit is contained in:
kidburglar 2017-01-15 22:54:30 +01:00
parent b02249521b
commit 7ef4388f15

View File

@ -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'])