[rule34] recognize URLs with 'www' subdomain (#4984)
This commit is contained in:
@@ -168,7 +168,7 @@ INSTANCES = {
|
|||||||
},
|
},
|
||||||
"rule34": {
|
"rule34": {
|
||||||
"root": "https://rule34.xxx",
|
"root": "https://rule34.xxx",
|
||||||
"pattern": r"rule34\.xxx",
|
"pattern": r"(?:www\.)?rule34\.xxx",
|
||||||
"api_root": "https://api.rule34.xxx",
|
"api_root": "https://api.rule34.xxx",
|
||||||
},
|
},
|
||||||
"safebooru": {
|
"safebooru": {
|
||||||
|
|||||||
@@ -34,6 +34,13 @@ __tests__ = (
|
|||||||
"#count" : 3,
|
"#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",
|
"#url" : "https://rule34.xxx/index.php?page=post&s=view&id=863",
|
||||||
"#category": ("gelbooru_v02", "rule34", "post"),
|
"#category": ("gelbooru_v02", "rule34", "post"),
|
||||||
|
|||||||
Reference in New Issue
Block a user