We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02e98a0 commit 31aedbdCopy full SHA for 31aedbd
database/scrape_trle_download.py
@@ -318,11 +318,11 @@ def _search_trcustoms(trle_info):
318
search_url = f"https://trcustoms.org/api/levels/?search={title}"
319
trcustoms = scrape_common.get_json(search_url)
320
results = trcustoms.get('results', [])
321
+
322
for level in results:
323
# if level and date match exactly
324
if level.get('name', '') == trle_info[0]:
- if scrape_common.convert_to_iso(level.get('created', '')) == \
325
- scrape_common.convert_to_iso(release):
+ if scrape_common.convert_to_iso(level.get('created', '')) == release:
326
# check if it has the files attribute
327
last_file = level.get('last_file', {})
328
if last_file:
0 commit comments