Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def get_images():
|
|
42 |
feed1 = requests.get(get_url)
|
43 |
spl = feed1.text.split("href=")
|
44 |
for line in spl:
|
45 |
-
spl2 = line.split(">")[0]
|
46 |
print(spl2)
|
47 |
html_out+=f'<div><img src={get_url}{spl2}></div>'
|
48 |
html_out+="</div>"
|
|
|
42 |
feed1 = requests.get(get_url)
|
43 |
spl = feed1.text.split("href=")
|
44 |
for line in spl:
|
45 |
+
spl2 = line.split(">")[0].strip('""')
|
46 |
print(spl2)
|
47 |
html_out+=f'<div><img src={get_url}{spl2}></div>'
|
48 |
html_out+="</div>"
|