fixed error messages spamming in console + added debug messages

This commit is contained in:
Vxrtrauter
2025-10-11 20:35:21 +02:00
parent e4c50e20df
commit a9450435d7
5 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ def get_item_url(item, posts, post_titles): # oftwarelist currentitem, post list
def get_magnet_link(post_url):
try:
response = requests.get(post_url)
response = requests.get(post_url) # eventually impl. cloudscraper
response.raise_for_status()
soup = BeautifulSoup(response.text, 'html.parser')
magnet_link = soup.find('a', href=lambda x: x and x.startswith('magnet:'))