Vorbereitung Release 0.2.0 #83
@@ -45,6 +45,9 @@ if __name__ == '__main__':
|
|||||||
log.info(f"{item['id']} - {str(link)}")
|
log.info(f"{item['id']} - {str(link)}")
|
||||||
if not link:
|
if not link:
|
||||||
continue
|
continue
|
||||||
|
if link == "None":
|
||||||
|
item['url'] = None
|
||||||
|
else:
|
||||||
try:
|
try:
|
||||||
r = requests.get(link)
|
r = requests.get(link)
|
||||||
soup = BeautifulSoup(r.content, "html.parser")
|
soup = BeautifulSoup(r.content, "html.parser")
|
||||||
|
|||||||
Reference in New Issue
Block a user