Omnibus commited on
Commit
dacb5fb
·
1 Parent(s): 72c0de6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -14,14 +14,15 @@ def search_fn(query):
14
  out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
15
  out = out[0]
16
 
17
- frame_l=test(out)
 
18
  with open("MyFile.txt", "w") as file:
19
  file.writelines(frame_l)
20
 
21
  print (out)
22
 
23
 
24
- return (myfile.txt)
25
 
26
 
27
  def first():
 
14
  out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
15
  out = out[0]
16
 
17
+ frame_l=f'<iframe src="{out}" frameborder="0" width="100%" height="2000"></iframe>'
18
+
19
  with open("MyFile.txt", "w") as file:
20
  file.writelines(frame_l)
21
 
22
  print (out)
23
 
24
 
25
+ return ("myfile.txt")
26
 
27
 
28
  def first():