Anustup commited on
Commit
5460f4d
1 Parent(s): cc3ce98

Update summarizer.py

Browse files
Files changed (1) hide show
  1. summarizer.py +1 -1
summarizer.py CHANGED
@@ -49,7 +49,7 @@ def create_screenshot_from_scrap_fly(link_to_fetch):
49
  'options': 'block_banners'
50
  }
51
  response = requests.get('https://api.scrapfly.io/screenshot', params=params)
52
- location = f"brand_ss_{random.randint(1, 100000000)}.jpg"
53
  with open(location, 'wb') as file:
54
  file.write(response.content)
55
  return {"location": location, "success": True}
 
49
  'options': 'block_banners'
50
  }
51
  response = requests.get('https://api.scrapfly.io/screenshot', params=params)
52
+ location = f"brand_ss_{random.randint(1, 100000000)}.png"
53
  with open(location, 'wb') as file:
54
  file.write(response.content)
55
  return {"location": location, "success": True}