feat: enhance error handling and logging in various modules; improve timeout settings for network requests / fix basic issues

This commit is contained in:
Vxrtrauter
2026-03-08 13:32:30 +01:00
parent 43cbfe056c
commit 9ba11bfa78
10 changed files with 33 additions and 28 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ def get_item_url(item, posts, post_titles): # softwarelist currentitem, post lis
def get_magnet_link(post_url):
try:
response = requests.get(post_url) # eventually impl. cloudscraper
response = requests.get(post_url, timeout=15) # eventually impl. cloudscraper
consoleLog("Sent Request to retrieve Magnet Link...")
response.raise_for_status()
soup = BeautifulSoup(response.text, 'html.parser')