mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-30 05:18:51 -06:00
refactor: move upstream DAT fetching to datfetch
This commit is contained in:
1 parent
3df7a60e43
commit
d1b0c77039
7 files changed
+122
-113
No files matched your search
@@ -922,7 +922,7 @@ class EveryGitHubApiCallerSendsTheToken(unittest.TestCase):
|
||||
for path in [*scripts.rglob("*.py"), *scripts.rglob("*.sh")]
|
||||
if "api.github.com" in (source := path.read_text(encoding="utf-8"))
|
||||
# arcade_parent_importer names API URLs and sends them through
|
||||
# romset_dat_importer._api_json, which holds the token, and the
|
||||
# datfetch.api_json, which holds the token, and the
|
||||
# scrapers through base_scraper.github_json, the rest through
|
||||
# core.upstream.fetch_body or forge_headers.
|
||||
and ("Request(" in source or "urlopen(" in source or path.suffix == ".sh")
|
||||
|
||||
Reference in new issue
Block a user