mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
Merge branch 'main' into feat/contextmenu
This commit is contained in:
@@ -49,6 +49,9 @@ class SteamripScraper:
|
||||
for i in range(len(names)):
|
||||
ret.append({"title" : names[i], "url" : links[i]})
|
||||
|
||||
self.cache["data"] = ret
|
||||
self.cache["last_fetched"] = current_time
|
||||
|
||||
return ret
|
||||
|
||||
def scrape_steamrip_game_downloads(self, url):
|
||||
@@ -70,8 +73,6 @@ class SteamripScraper:
|
||||
if len(link) != 1:
|
||||
ret.append(link)
|
||||
|
||||
self.cache["data"] = ret
|
||||
|
||||
return ret
|
||||
|
||||
def get_download_link(self, post: Dict):
|
||||
|
||||
@@ -43,7 +43,7 @@ class UztrackerScraper:
|
||||
|
||||
except requests.RequestException as e:
|
||||
consoleLog(f"Failed to fetch {search_url}: {e}")
|
||||
return None
|
||||
return []
|
||||
|
||||
def get_download_link(self, post: Dict):
|
||||
return get_magnet_link(post["url"])
|
||||
|
||||
Reference in New Issue
Block a user