mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
支持憨憨站点的字幕下载
This commit is contained in:
@@ -30,6 +30,7 @@ class SubtitleModule(_ModuleBase):
|
|||||||
# 站点详情页字幕下载链接识别XPATH
|
# 站点详情页字幕下载链接识别XPATH
|
||||||
_SITE_SUBTITLE_XPATH = [
|
_SITE_SUBTITLE_XPATH = [
|
||||||
'//td[@class="rowhead"][text()="字幕"]/following-sibling::td//a/@href',
|
'//td[@class="rowhead"][text()="字幕"]/following-sibling::td//a/@href',
|
||||||
|
'//div[contains(@class, "font-bold")][text()="字幕"]/following-sibling::div[1]//a[not(@class)]/@href', # 憨憨
|
||||||
]
|
]
|
||||||
|
|
||||||
def init_module(self) -> None:
|
def init_module(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user