Skip to content

Commit

Permalink
MTV add imgbb as supported imghost
Browse files Browse the repository at this point in the history
  • Loading branch information
L4GSP1KE committed Jun 20, 2023
1 parent c1353bc commit 2f3513c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/trackers/MTV.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def upload(self, meta):
# getting tags
des_tags = await self.get_tags(meta)
# check for approved imghosts
approved_imghosts = ['ptpimg', 'imgbox', 'empornium']
approved_imghosts = ['ptpimg', 'imgbox', 'empornium', 'ibb']
if not all(any(x in image['raw_url'] for x in approved_imghosts) for image in meta['image_list']):
console.print("[red]Unsupported image host detected, please use one of the approved imagehosts")
return
Expand Down Expand Up @@ -492,7 +492,8 @@ async def login(self, cookiefile):
'password' : self.config['TRACKERS'][self.tracker].get('password'),
'keeploggedin' : 1,
'cinfo' : '1920|1080|24|0',
'submit' : 'login'
'submit' : 'login',
'iplocked' : 1,
# 'ssl' : 'yes'
}
res = session.get(url="https://www.morethantv.me/login")
Expand Down

0 comments on commit 2f3513c

Please sign in to comment.