diff --git a/docs/configuration.rst b/docs/configuration.rst index 1960fd8b..e7390913 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -6979,6 +6979,7 @@ Supported Values * ``newvideo`` * ``article`` * ``album`` + * ``subalbums`` Note It is possible to use ``"all"`` instead of listing all values separately. diff --git a/gallery_dl/extractor/weibo.py b/gallery_dl/extractor/weibo.py index 7e8e13e5..040d483f 100644 --- a/gallery_dl/extractor/weibo.py +++ b/gallery_dl/extractor/weibo.py @@ -324,7 +324,9 @@ class WeiboUserExtractor(WeiboExtractor): (WeiboNewvideoExtractor, base + "newVideo"), (WeiboArticleExtractor , base + "article"), (WeiboAlbumExtractor , base + "album"), - ), ("feed",)) + ), ("feed",), { + ("album", "subalbums", base + "album-only"), + }) class WeiboHomeExtractor(WeiboExtractor): diff --git a/test/results/weibo.py b/test/results/weibo.py index efefd0b2..86133146 100644 --- a/test/results/weibo.py +++ b/test/results/weibo.py @@ -28,6 +28,7 @@ __tests__ = ( "https://weibo.com/u/1758989602?tabtype=newVideo", "https://weibo.com/u/1758989602?tabtype=article", "https://weibo.com/u/1758989602?tabtype=album", + "https://weibo.com/u/1758989602?tabtype=album-only", ), },