[webpages] Push to archivebox in a different place

This commit is contained in:
2024-04-19 11:00:07 -04:00
parent f87bc5fd55
commit 89541a13f2
3 changed files with 13 additions and 10 deletions

View File

@ -341,7 +341,10 @@ def manual_scrobble_webpage(url: str, user_id: int):
},
)
return Scrobble.create_or_update(webpage, user_id, scrobble_dict)
scrobble = Scrobble.create_or_update(webpage, user_id, scrobble_dict)
# possibly async this?
scrobble.push_to_archivebox()
return scrobble
def gpslogger_scrobble_location(data_dict: dict, user_id: int) -> Scrobble: