diff --git a/src/trackers/ACM.py b/src/trackers/ACM.py index 71e3d3c3..520ee3db 100644 --- a/src/trackers/ACM.py +++ b/src/trackers/ACM.py @@ -249,7 +249,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/AITHER.py b/src/trackers/AITHER.py index 45ec59f5..1a3f145c 100644 --- a/src/trackers/AITHER.py +++ b/src/trackers/AITHER.py @@ -95,7 +95,7 @@ async def upload(self, meta, disctype): 'mod_queue_opt_in': modq, } headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/AL.py b/src/trackers/AL.py index a0b45caa..66e3949f 100644 --- a/src/trackers/AL.py +++ b/src/trackers/AL.py @@ -142,7 +142,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/ANT.py b/src/trackers/ANT.py index c6c8300c..8a5cba97 100644 --- a/src/trackers/ANT.py +++ b/src/trackers/ANT.py @@ -113,12 +113,12 @@ async def upload(self, meta, disctype): 'media': 'Blu-ray', 'releasegroup': str(meta['tag'])[1:], 'release_desc': bd_dump, - 'flagchangereason': "BDMV Uploaded with L4G's Upload Assistant"}) + 'flagchangereason': "BDMV Uploaded with Upload Assistant"}) if meta['scene']: # ID of "Scene?" checkbox on upload form is actually "censored" data['censored'] = 1 headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } try: diff --git a/src/trackers/BHD.py b/src/trackers/BHD.py index 404a5a1c..20691316 100644 --- a/src/trackers/BHD.py +++ b/src/trackers/BHD.py @@ -96,7 +96,7 @@ async def upload(self, meta, disctype): if len(tags) > 0: data['tags'] = ','.join(tags) headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } url = self.upload_url + self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/BLU.py b/src/trackers/BLU.py index b0bddc66..ec4a130a 100644 --- a/src/trackers/BLU.py +++ b/src/trackers/BLU.py @@ -117,7 +117,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/CBR.py b/src/trackers/CBR.py index 79d98d00..b4e54e66 100644 --- a/src/trackers/CBR.py +++ b/src/trackers/CBR.py @@ -101,7 +101,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/FNP.py b/src/trackers/FNP.py index 9802d950..498b8ea3 100644 --- a/src/trackers/FNP.py +++ b/src/trackers/FNP.py @@ -134,7 +134,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/HP.py b/src/trackers/HP.py index 609fa066..771949a9 100644 --- a/src/trackers/HP.py +++ b/src/trackers/HP.py @@ -123,7 +123,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/HUNO.py b/src/trackers/HUNO.py index 3c1049fb..623ed3f7 100644 --- a/src/trackers/HUNO.py +++ b/src/trackers/HUNO.py @@ -84,7 +84,7 @@ async def upload(self, meta, disctype): data['internal'] = 0 headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': tracker_config['api_key'].strip() diff --git a/src/trackers/JPTV.py b/src/trackers/JPTV.py index fe28e3df..1b079e2b 100644 --- a/src/trackers/JPTV.py +++ b/src/trackers/JPTV.py @@ -130,7 +130,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/LCD.py b/src/trackers/LCD.py index 450b0514..2bcaaee3 100644 --- a/src/trackers/LCD.py +++ b/src/trackers/LCD.py @@ -101,7 +101,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/LST.py b/src/trackers/LST.py index 2b02b7e4..aace023d 100644 --- a/src/trackers/LST.py +++ b/src/trackers/LST.py @@ -156,7 +156,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/LT.py b/src/trackers/LT.py index f748af0e..4cd5e7c9 100644 --- a/src/trackers/LT.py +++ b/src/trackers/LT.py @@ -157,7 +157,7 @@ async def upload(self, meta, disctype): data['season_number'] = int(meta.get('season_int', '0')) data['episode_number'] = int(meta.get('episode_int', '0')) headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/OE.py b/src/trackers/OE.py index 83fcb11d..59d3d035 100644 --- a/src/trackers/OE.py +++ b/src/trackers/OE.py @@ -109,7 +109,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/OTW.py b/src/trackers/OTW.py index 16e00cfc..3e925935 100644 --- a/src/trackers/OTW.py +++ b/src/trackers/OTW.py @@ -134,7 +134,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/PSS.py b/src/trackers/PSS.py index eb59d2ae..97f377bf 100644 --- a/src/trackers/PSS.py +++ b/src/trackers/PSS.py @@ -136,7 +136,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/R4E.py b/src/trackers/R4E.py index 6d6717c6..deaf0b09 100644 --- a/src/trackers/R4E.py +++ b/src/trackers/R4E.py @@ -83,7 +83,7 @@ async def upload(self, meta, disctype): # 'sticky' : 0, } headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } url = f"https://racing4everyone.eu/api/torrents/upload?api_token={self.config['TRACKERS']['R4E']['api_key'].strip()}" if meta.get('category') == "TV": diff --git a/src/trackers/RF.py b/src/trackers/RF.py index 688fb10c..9e01187c 100644 --- a/src/trackers/RF.py +++ b/src/trackers/RF.py @@ -98,7 +98,7 @@ async def upload(self, meta, disctype): if distributor_id != 0: data['distributor_id'] = distributor_id headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/SHRI.py b/src/trackers/SHRI.py index e9383795..7d79fc73 100644 --- a/src/trackers/SHRI.py +++ b/src/trackers/SHRI.py @@ -134,7 +134,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/STC.py b/src/trackers/STC.py index 6acdf103..f5e2b7ee 100644 --- a/src/trackers/STC.py +++ b/src/trackers/STC.py @@ -92,7 +92,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/STT.py b/src/trackers/STT.py index 4715864e..7da80175 100644 --- a/src/trackers/STT.py +++ b/src/trackers/STT.py @@ -85,7 +85,7 @@ async def upload(self, meta, disctype): 'sticky': 0, } headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/THR.py b/src/trackers/THR.py index 4a91b66e..f3655697 100644 --- a/src/trackers/THR.py +++ b/src/trackers/THR.py @@ -81,7 +81,7 @@ async def upload(self, session, meta, disctype): 'tube': meta.get('youtube', '') } headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } # If pronfo fails, put mediainfo into THR parser if meta.get('is_disc', '') != 'BDMV': diff --git a/src/trackers/TIK.py b/src/trackers/TIK.py index 20659b14..2fc467d0 100644 --- a/src/trackers/TIK.py +++ b/src/trackers/TIK.py @@ -120,7 +120,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/TL.py b/src/trackers/TL.py index 234dcf2b..e662f291 100644 --- a/src/trackers/TL.py +++ b/src/trackers/TL.py @@ -100,7 +100,7 @@ async def upload(self, meta, disctype): 'category': cat_id } headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } if meta['debug'] is False: diff --git a/src/trackers/ULCX.py b/src/trackers/ULCX.py index 76ec1c34..b9cdacca 100644 --- a/src/trackers/ULCX.py +++ b/src/trackers/ULCX.py @@ -134,7 +134,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/UNIT3D_TEMPLATE.py b/src/trackers/UNIT3D_TEMPLATE.py index 4c242f34..60a7b629 100644 --- a/src/trackers/UNIT3D_TEMPLATE.py +++ b/src/trackers/UNIT3D_TEMPLATE.py @@ -133,7 +133,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/UTP.py b/src/trackers/UTP.py index b59993b5..86f645d7 100644 --- a/src/trackers/UTP.py +++ b/src/trackers/UTP.py @@ -100,7 +100,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip() diff --git a/src/trackers/YOINK.py b/src/trackers/YOINK.py index 58af6d7a..90003c13 100644 --- a/src/trackers/YOINK.py +++ b/src/trackers/YOINK.py @@ -134,7 +134,7 @@ async def upload(self, meta, disctype): data['season_number'] = meta.get('season_int', '0') data['episode_number'] = meta.get('episode_int', '0') headers = { - 'User-Agent': f'Upload Assistant/2.1 ({platform.system()} {platform.release()})' + 'User-Agent': f'Upload Assistant/2.2 ({platform.system()} {platform.release()})' } params = { 'api_token': self.config['TRACKERS'][self.tracker]['api_key'].strip()