adpro commited on
Commit
c4522c2
·
verified ·
1 Parent(s): e82366f

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
  search_results = []
20
  for g in soup.find_all('div', class_='MjjYud'):
21
  print(g)
 
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
  search_results = []
20
  for g in soup.find_all('div', class_='MjjYud'):
21
  print(g)