mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-19 18:32:48 +00:00
refactor: consolidate CI pipeline, remove third-party deps
This commit is contained in:
parent
e6ea0484a8
commit
3453f89d9d
34 changed files with 206 additions and 2091 deletions
|
|
@ -111,7 +111,7 @@ class BaseScraper(ABC):
|
|||
try:
|
||||
self.fetch_requirements()
|
||||
return True
|
||||
except Exception:
|
||||
except (ConnectionError, ValueError, OSError):
|
||||
return False
|
||||
|
||||
@abstractmethod
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ class Scraper(BaseScraper):
|
|||
_versions.append(int(_num))
|
||||
if _versions:
|
||||
batocera_version = str(max(_versions))
|
||||
except Exception:
|
||||
except (ConnectionError, ValueError, OSError):
|
||||
pass
|
||||
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ class Scraper(BaseScraper):
|
|||
}
|
||||
except (urllib.error.URLError, urllib.error.HTTPError):
|
||||
continue
|
||||
except Exception:
|
||||
except (ConnectionError, ValueError, OSError):
|
||||
pass
|
||||
|
||||
return metadata
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue