Skip to content

Commit

Permalink
[weibo] fix unit test URL patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Mar 15, 2019
1 parent a2af2d2 commit 973a720
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gallery_dl/extractor/weibo.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ class WeiboStatusExtractor(WeiboExtractor):
r"/(?:detail|status)/(\d+)")
test = (
("https://m.weibo.cn/detail/4323047042991618", {
"pattern": r"https://wx\d+.sinaimg.cn/large/\w+.jpg",
"pattern": r"https?://wx\d+.sinaimg.cn/large/\w+.jpg",
}),
("https://m.weibo.cn/detail/4339748116375525", {
"pattern": r"http://f.us.sinaimg.cn/\w+\.mp4\?label=mp4_hd",
"pattern": r"https?://f.us.sinaimg.cn/\w+\.mp4\?label=mp4_hd",
}),
("https://m.weibo.cn/status/4339748116375525"),
)
Expand Down
2 changes: 1 addition & 1 deletion test/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

# temporary issues, etc.
BROKEN = {
"dokireader", # expired cert
"mangapark",
"simplyhentai",
}


Expand Down

0 comments on commit 973a720

Please sign in to comment.