Skip to content

Commit

Permalink
fix douban drama url parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mein Name authored and alphatownsman committed Nov 22, 2024
1 parent 0a4a06d commit 86a1198
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions catalog/sites/douban_drama.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class DoubanDramaVersion(AbstractSite):
ID_TYPE = IdType.DoubanDramaVersion
URL_PATTERNS = [
r"\w+://www.douban.com/location/drama/(\d+)/#(\d+)$",
r"\w+://www.douban.com/doubanapp/dispatch\?uri=/drama/(\d+)/",
r"\w+://www.douban.com/doubanapp/dispatch/drama/(\d+)",
]

WIKI_PROPERTY_ID = "?"
Expand Down Expand Up @@ -112,6 +110,7 @@ class DoubanDrama(AbstractSite):
URL_PATTERNS = [
r"\w+://www.douban.com/location/drama/(\d+)/[^#]*$",
r"\w+://www.douban.com/doubanapp/dispatch\?uri=/drama/(\d+)/",
r"\w+://www.douban.com/doubanapp/dispatch/drama/(\d+)",
]
WIKI_PROPERTY_ID = "P6443"
DEFAULT_MODEL = Performance
Expand Down

0 comments on commit 86a1198

Please sign in to comment.