Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,16 +18,13 @@ def rev_im(image_url):
|
|
18 |
'Site': f'{search_item.page_url}',
|
19 |
'Img': f'{search_item.image_url}',
|
20 |
}
|
21 |
-
|
22 |
-
out_im.append(search_item.image_url)
|
23 |
-
print(f'Title: {search_item.page_title}')
|
24 |
-
print(f'Site: {search_item.page_url}')
|
25 |
-
print(f'Img: {search_item.image_url}\n')
|
26 |
html_out = f"""{html_out}
|
27 |
<div>
|
28 |
Title: {search_item.page_title}<br>
|
29 |
Site: <a href='{search_item.page_url}'>{search_item.page_url}</a><br>
|
30 |
-
Img: <
|
|
|
31 |
</div>"""
|
32 |
|
33 |
|
|
|
18 |
'Site': f'{search_item.page_url}',
|
19 |
'Img': f'{search_item.image_url}',
|
20 |
}
|
21 |
+
print (dir(search_item))
|
|
|
|
|
|
|
|
|
22 |
html_out = f"""{html_out}
|
23 |
<div>
|
24 |
Title: {search_item.page_title}<br>
|
25 |
Site: <a href='{search_item.page_url}'>{search_item.page_url}</a><br>
|
26 |
+
Img: <a href='{search_item.image_url}'>{search_item.image_url}</a><br>
|
27 |
+
<img src='{search_item.image_url}'<br>
|
28 |
</div>"""
|
29 |
|
30 |
|