adpro commited on
Commit
53e71c4
·
verified ·
1 Parent(s): 9f588b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def run_lora(prompt,site,start,end):
15
  surl = "https://www.google.com/search?q=site:" +site + " " +prompt + "after:"+start+"before:" + end
16
  page = requests.get(murl)
17
  print("https://www.google.com/search?q=site:" +site + " " +prompt + "&tbs=cdr%3A1%2Ccd_min%3A"+start+"%2Ccd_max%3A" + end)
18
- soup = BeautifulSoup(page.content)
19
  import re
20
  search_results = []
21
  for g in soup.find_all('div', class_='tF2Cxc'):
 
15
  surl = "https://www.google.com/search?q=site:" +site + " " +prompt + "after:"+start+"before:" + end
16
  page = requests.get(murl)
17
  print("https://www.google.com/search?q=site:" +site + " " +prompt + "&tbs=cdr%3A1%2Ccd_min%3A"+start+"%2Ccd_max%3A" + end)
18
+ soup = BeautifulSoup(page.text)
19
  import re
20
  search_results = []
21
  for g in soup.find_all('div', class_='tF2Cxc'):