mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
fix: use fake ua
This commit is contained in:
parent
af3468fa05
commit
f4e36b3667
@ -310,7 +310,7 @@ class MissEvan(VideoExtractor):
|
||||
or kwargs.get('json_output'):
|
||||
|
||||
for _, stream in self.streams.items():
|
||||
stream['size'] = urls_size(stream['src'])
|
||||
stream['size'] = urls_size(stream['src'], faker=True)
|
||||
return
|
||||
|
||||
# fetch size of the selected stream only
|
||||
@ -319,7 +319,7 @@ class MissEvan(VideoExtractor):
|
||||
|
||||
stream = self.streams[stream_id]
|
||||
if 'size' not in stream:
|
||||
stream['size'] = urls_size(stream['src'])
|
||||
stream['size'] = urls_size(stream['src'], faker=True)
|
||||
|
||||
def _get_content(self, url):
|
||||
return get_content(url, headers=self.__headers)
|
||||
|
Loading…
Reference in New Issue
Block a user