1
0
Fork 0

[extractor, cleanup] Reduce direct use of _downloader

This commit is contained in:
pukkandan 2022-06-23 09:44:22 +05:30
commit 9809740ba5
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
16 changed files with 40 additions and 32 deletions

View file

@ -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,