Skip to content

Commit

Permalink
fix: use fake ua
Browse files Browse the repository at this point in the history
  • Loading branch information
nuomi1 committed Oct 4, 2022
1 parent af3468f commit f4e36b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/you_get/extractors/missevan.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def extract(self, **kwargs):
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
Expand All @@ -319,7 +319,7 @@ def extract(self, **kwargs):

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)
Expand Down

0 comments on commit f4e36b3

Please sign in to comment.