mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-19 19:46:55 +08:00
feat(panda): add release group for PandaPT
This commit is contained in:
@@ -52,6 +52,7 @@ class ReleaseGroupsMatcher(metaclass=Singleton):
|
|||||||
"nicept": [],
|
"nicept": [],
|
||||||
"oshen": [],
|
"oshen": [],
|
||||||
"ourbits": ['Our(?:Bits|TV)', 'FLTTH', 'Ao', 'PbK', 'MGs', 'iLove(?:HD|TV)'],
|
"ourbits": ['Our(?:Bits|TV)', 'FLTTH', 'Ao', 'PbK', 'MGs', 'iLove(?:HD|TV)'],
|
||||||
|
"panda": ['Panda', 'AilMWeb'],
|
||||||
"piggo": ['PiGo(?:NF|(?:H|WE)B)'],
|
"piggo": ['PiGo(?:NF|(?:H|WE)B)'],
|
||||||
"ptchina": [],
|
"ptchina": [],
|
||||||
"pterclub": ['PTer(?:DIY|Game|(?:M|T)V|WEB|)'],
|
"pterclub": ['PTer(?:DIY|Game|(?:M|T)V|WEB|)'],
|
||||||
@@ -105,7 +106,7 @@ class ReleaseGroupsMatcher(metaclass=Singleton):
|
|||||||
else:
|
else:
|
||||||
groups = self.__release_groups
|
groups = self.__release_groups
|
||||||
title = f"{title} "
|
title = f"{title} "
|
||||||
groups_re = re.compile(r"(?<=[-@\[£【&])(?:(?:%s))(?=[@.\s\S\]\[】&])" % groups, re.I)
|
groups_re = re.compile(r"(?<=[-@\[£【&])(?:(?:%s))(?=$|[@.\s\]\[】&])" % groups, re.I)
|
||||||
unique_groups = []
|
unique_groups = []
|
||||||
for item in re.findall(groups_re, title):
|
for item in re.findall(groups_re, title):
|
||||||
item_str = item[0] if isinstance(item, tuple) else item
|
item_str = item[0] if isinstance(item, tuple) else item
|
||||||
|
|||||||
@@ -235,6 +235,14 @@ release_group_cases = [
|
|||||||
{"title": "Bluey S03 2021 2160p WEB-DL H.265 AAC 2.0-iLoveTV", "group": "iLoveTV"}
|
{"title": "Bluey S03 2021 2160p WEB-DL H.265 AAC 2.0-iLoveTV", "group": "iLoveTV"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
# panda 组
|
||||||
|
{
|
||||||
|
"domain": "panda",
|
||||||
|
"groups": [
|
||||||
|
{"title": "Bluey S03 2021 2160p WEB-DL H.265 AAC 2.0-Panda", "group": "Panda"},
|
||||||
|
{"title": "Bluey S03 2021 2160p WEB-DL H.265 AAC 2.0-AilMWeb", "group": "AilMWeb"}
|
||||||
|
]
|
||||||
|
},
|
||||||
# piggo 组
|
# piggo 组
|
||||||
{
|
{
|
||||||
"domain": "piggo",
|
"domain": "piggo",
|
||||||
|
|||||||
Reference in New Issue
Block a user