mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
[rule34] recognize URLs with 'www' subdomain (#4984)
This commit is contained in:
parent
9f5051e4ed
commit
085411f3f1
@ -168,7 +168,7 @@ INSTANCES = {
|
||||
},
|
||||
"rule34": {
|
||||
"root": "https://rule34.xxx",
|
||||
"pattern": r"rule34\.xxx",
|
||||
"pattern": r"(?:www\.)?rule34\.xxx",
|
||||
"api_root": "https://api.rule34.xxx",
|
||||
},
|
||||
"safebooru": {
|
||||
|
@ -34,6 +34,13 @@ __tests__ = (
|
||||
"#count" : 3,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.rule34.xxx/index.php?page=post&s=view&id=863",
|
||||
"#comment" : "www subdomain",
|
||||
"#category": ("gelbooru_v02", "rule34", "post"),
|
||||
"#class" : gelbooru_v02.GelbooruV02PostExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://rule34.xxx/index.php?page=post&s=view&id=863",
|
||||
"#category": ("gelbooru_v02", "rule34", "post"),
|
||||
|
Loading…
Reference in New Issue
Block a user