diff --git a/catalog/sites/douban_book.py b/catalog/sites/douban_book.py index 8ff4c9de..857fb043 100644 --- a/catalog/sites/douban_book.py +++ b/catalog/sites/douban_book.py @@ -14,6 +14,7 @@ class DoubanBook(AbstractSite): r"\w+://book\.douban\.com/subject/(\d+)/{0,1}", r"\w+://m.douban.com/book/subject/(\d+)/{0,1}", r"\w+://www.douban.com/doubanapp/dispatch\?uri=/book/(\d+)/", + r"\w+://www.douban.com/doubanapp/dispatch/book/(\d+)", ] WIKI_PROPERTY_ID = "?" DEFAULT_MODEL = Edition diff --git a/catalog/sites/douban_drama.py b/catalog/sites/douban_drama.py index f7882db2..c89ac891 100644 --- a/catalog/sites/douban_drama.py +++ b/catalog/sites/douban_drama.py @@ -25,7 +25,11 @@ class DoubanDramaVersion(AbstractSite): SITE_NAME = SiteName.Douban ID_TYPE = IdType.DoubanDramaVersion - URL_PATTERNS = [r"\w+://www.douban.com/location/drama/(\d+)/#(\d+)$"] + 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 = "?" DEFAULT_MODEL = PerformanceProduction diff --git a/catalog/sites/douban_game.py b/catalog/sites/douban_game.py index eb086526..a867e31d 100644 --- a/catalog/sites/douban_game.py +++ b/catalog/sites/douban_game.py @@ -20,6 +20,7 @@ class DoubanGame(AbstractSite): r"\w+://www\.douban\.com/game/(\d+)/{0,1}", r"\w+://m.douban.com/game/subject/(\d+)/{0,1}", r"\w+://www.douban.com/doubanapp/dispatch\?uri=/game/(\d+)/", + r"\w+://www.douban.com/doubanapp/dispatch/game/(\d+)", ] WIKI_PROPERTY_ID = "" DEFAULT_MODEL = Game diff --git a/catalog/sites/douban_movie.py b/catalog/sites/douban_movie.py index ceab67a0..8a1b25f1 100644 --- a/catalog/sites/douban_movie.py +++ b/catalog/sites/douban_movie.py @@ -20,6 +20,7 @@ class DoubanMovie(AbstractSite): r"\w+://movie\.douban\.com/subject/(\d+)/{0,1}", r"\w+://m.douban.com/movie/subject/(\d+)/{0,1}", r"\w+://www.douban.com/doubanapp/dispatch\?uri=/movie/(\d+)/", + r"\w+://www.douban.com/doubanapp/dispatch/movie/(\d+)", ] WIKI_PROPERTY_ID = "?" # no DEFAULT_MODEL as it may be either TV Season and Movie diff --git a/catalog/sites/douban_music.py b/catalog/sites/douban_music.py index d45b7582..d0871fe6 100644 --- a/catalog/sites/douban_music.py +++ b/catalog/sites/douban_music.py @@ -20,6 +20,7 @@ class DoubanMusic(AbstractSite): r"\w+://music\.douban\.com/subject/(\d+)/{0,1}", r"\w+://m.douban.com/music/subject/(\d+)/{0,1}", r"\w+://www.douban.com/doubanapp/dispatch\?uri=/music/(\d+)/", + r"\w+://www.douban.com/doubanapp/dispatch/music/(\d+)", ] WIKI_PROPERTY_ID = "" DEFAULT_MODEL = Album