Omnibus commited on
Commit
31e2d7f
1 Parent(s): 97c8695

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ from bs4 import BeautifulSoup
4
  import re
5
 
6
  def search_fn(query,count):
7
- if count>99:
8
- count = 99
9
  page = requests.get(f"https://www.google.com/search?q={query}&num={count}")
10
  soup = BeautifulSoup(page.content)
11
  #links = soup.findAll("a")
 
4
  import re
5
 
6
  def search_fn(query,count):
7
+ if count>40:
8
+ count = 40
9
  page = requests.get(f"https://www.google.com/search?q={query}&num={count}")
10
  soup = BeautifulSoup(page.content)
11
  #links = soup.findAll("a")