mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot.git
synced 2025-05-13 15:28:43 +00:00
Add new libremdb instance
This commit is contained in:
parent
8f07ed7f70
commit
176c25f200
2 changed files with 5 additions and 4 deletions
|
@ -23,7 +23,7 @@ def parse_links(text=str):
|
|||
|
||||
|
||||
def parse_links_imdb(text=str):
|
||||
regex = r"imdb\.com/|libremdb\.pussthecat\.org/|libremdb\.esmailelbob\.xyz/|libremdb\.herokuapp\.com/|libremdbeu\.herokuapp\.com/|lmdb\.tokhmi\.xyz/|libremdb\.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd\.onion/"
|
||||
regex = r"imdb\.com/|libremdb\.leemoon\.network/|libremdb\.pussthecat\.org/|libremdb\.esmailelbob\.xyz/|libremdb\.herokuapp\.com/|libremdbeu\.herokuapp\.com/|lmdb\.tokhmi\.xyz/|libremdb\.lqs5fjmajyp7rvp4qvyubwofzi6d4imua7vs237rkc4m5qogitqwrgyd\.onion/"
|
||||
if re.search(regex, text.lower(), flags=re.MULTILINE):
|
||||
imdb_ids = re.findall(r"tt(\d{1,})", text.lower())
|
||||
if imdb_ids != []:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue