ourbits: remove junk from description

also add imdbid and doubanid placeholder selectors
This commit is contained in:
ilike2burnthing
2023-02-07 04:45:48 +00:00
committed by GitHub
parent 64503396c7
commit 04872dfc4c

View File

@@ -92,6 +92,14 @@ search:
download: download:
selector: a[href^="download.php?id="] selector: a[href^="download.php?id="]
attribute: href attribute: href
imdbid:
# site currently only has a badge and rating, the id is not present. just in case a future update.
selector: a[href*="imdb.com/title/tt"]
attribute: href
doubanid:
# site currently only has a badge and rating, the id is not present. just in case a future update.
selector: a[href*="movie.douban.com/subject/"]
attribute: href
date_elapsed: date_elapsed:
# time type: time elapsed (default) # time type: time elapsed (default)
selector: td.rowfollow:nth-child(4) > span[title] selector: td.rowfollow:nth-child(4) > span[title]
@@ -141,6 +149,9 @@ search:
# 2 days (as seconds = 2 x 24 x 60 x 60) # 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800 text: 172800
description: description:
selector: td.rowfollow:nth-child(2) selector: td.rowfollow:nth-child(2) > table > tbody > tr > td
remove: a, img remove: a, img, b, span
filters:
- name: replace
args: ["will end in", ""]
# Ourbits 1.1.0 (Based on NexusPHP Standard v1.5 Beta 4) e71117f 2023-02-05 # Ourbits 1.1.0 (Based on NexusPHP Standard v1.5 Beta 4) e71117f 2023-02-05