Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -130,7 +130,7 @@ async def root(site: str = 'abcnews.go'):
|
|
| 130 |
url = results[1]['src']
|
| 131 |
ii_list.append(url)
|
| 132 |
|
| 133 |
-
|
| 134 |
|
| 135 |
except Exception as e:
|
| 136 |
print(e)
|
|
|
|
| 130 |
url = results[1]['src']
|
| 131 |
ii_list.append(url)
|
| 132 |
|
| 133 |
+
insert_image(url, response.data[i]['id'] )
|
| 134 |
|
| 135 |
except Exception as e:
|
| 136 |
print(e)
|