Omnibus commited on
Commit
4229ac3
1 Parent(s): 70197c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def search_fn(query):
11
  links = soup.findAll("a")
12
  for link in soup.find_all("a",href=re.compile("(?<=/url\?q=)(htt.*://.*)")):
13
  out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
14
- out = re.strip("[","'","]")
15
  print (out)
16
  #return out
17
 
 
11
  links = soup.findAll("a")
12
  for link in soup.find_all("a",href=re.compile("(?<=/url\?q=)(htt.*://.*)")):
13
  out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
14
+ out = out.strip("[","'","]")
15
  print (out)
16
  #return out
17