Emilianohack6950 commited on
Commit
09e0ac8
·
verified ·
1 Parent(s): f08033c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def build_url(input_str):
30
  return f"https://www.deviantart.com/search?q={categoria}"
31
 
32
  async def scrape_images(url, max_imgs):
33
- max_imgs = max(10, min(max_imgs, 300))
34
  async with async_playwright() as p:
35
  browser = await p.chromium.launch(headless=True)
36
  context = await browser.new_context(
 
30
  return f"https://www.deviantart.com/search?q={categoria}"
31
 
32
  async def scrape_images(url, max_imgs):
33
+ max_imgs = max(10, min(max_imgs, 1300))
34
  async with async_playwright() as p:
35
  browser = await p.chromium.launch(headless=True)
36
  context = await browser.new_context(