From 52f0050085238d67e4c1ff62b9b3575b067d0b27 Mon Sep 17 00:00:00 2001 From: TheAMM Date: Thu, 18 May 2017 22:37:38 +0300 Subject: [PATCH] Point v2 upload script to v2 endpoint (oops) --- utils/api_uploader_v2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/api_uploader_v2.py b/utils/api_uploader_v2.py index 70e956e..70d6371 100755 --- a/utils/api_uploader_v2.py +++ b/utils/api_uploader_v2.py @@ -9,7 +9,7 @@ NYAA_HOST = 'https://nyaa.si' SUKEBEI_HOST = 'https://sukebei.nyaa.si' API_BASE = '/api' -API_UPLOAD = API_BASE + '/upload' +API_UPLOAD = API_BASE + '/v2/upload' NYAA_CATS = '''1_1 - Anime - AMV 1_2 - Anime - English @@ -176,4 +176,4 @@ if __name__ == "__main__": else: print("[Uploaded] {url} - '{name}'".format(**response)) if args.magnet: - print(response['magnet']) \ No newline at end of file + print(response['magnet'])