Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def search_fn(query):
|
|
| 15 |
out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
|
| 16 |
out = out[0]
|
| 17 |
|
| 18 |
-
frame_l=f'<div
|
| 19 |
|
| 20 |
file.writelines(frame_l)
|
| 21 |
|
|
@@ -50,7 +50,7 @@ def test(inp):
|
|
| 50 |
|
| 51 |
.container-mee {
|
| 52 |
|
| 53 |
-
position:
|
| 54 |
overflow: hidden;
|
| 55 |
width: 33%;
|
| 56 |
padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
|
|
|
|
| 15 |
out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
|
| 16 |
out = out[0]
|
| 17 |
|
| 18 |
+
frame_l=f'<div><a href="{out}">{out}</a><br></div><div class="container-mee"><iframe class="responsive-iframe-mee" src="{out}" frameborder="3"></iframe></div>'
|
| 19 |
|
| 20 |
file.writelines(frame_l)
|
| 21 |
|
|
|
|
| 50 |
|
| 51 |
.container-mee {
|
| 52 |
|
| 53 |
+
position: relative;
|
| 54 |
overflow: hidden;
|
| 55 |
width: 33%;
|
| 56 |
padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
|