[extractor, cleanup] Reduce direct use of _downloader
This commit is contained in:
parent
f67baae17e
commit
9809740ba5
16 changed files with 40 additions and 32 deletions
|
|
@ -31,7 +31,7 @@ class FoxgayIE(InfoExtractor):
|
|||
description = get_element_by_id('inf_tit', webpage)
|
||||
|
||||
# The default user-agent with foxgay cookies leads to pages without videos
|
||||
self._downloader.cookiejar.clear('.foxgay.com')
|
||||
self.cookiejar.clear('.foxgay.com')
|
||||
# Find the URL for the iFrame which contains the actual video.
|
||||
iframe_url = self._html_search_regex(
|
||||
r'<iframe[^>]+src=([\'"])(?P<url>[^\'"]+)\1', webpage,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue