Omnibus commited on
Commit
eea38a1
·
verified ·
1 Parent(s): 01f064c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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>"