[inkbunny] improve '/submissionsviewall.php' patterns (#4934)
allow 'mode=…' to be in any position don't require it to be somewhere in the middle
This commit is contained in:
@@ -78,6 +78,12 @@ __tests__ = (
|
||||
"#class" : inkbunny.InkbunnyPoolExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/submissionsviewall.php?mode=pool&pool_id=28985",
|
||||
"#category": ("", "inkbunny", "pool"),
|
||||
"#class" : inkbunny.InkbunnyPoolExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/userfavorites_process.php?favs_user_id=20969",
|
||||
"#category": ("", "inkbunny", "favorite"),
|
||||
@@ -94,12 +100,24 @@ __tests__ = (
|
||||
"#class" : inkbunny.InkbunnyFavoriteExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/submissionsviewall.php?mode=userfavs&user_id=20969",
|
||||
"#category": ("", "inkbunny", "favorite"),
|
||||
"#class" : inkbunny.InkbunnyFavoriteExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/submissionsviewall.php?rid=ffffffffff&mode=unreadsubs&page=1&orderby=unread_datetime",
|
||||
"#category": ("", "inkbunny", "unread"),
|
||||
"#class" : inkbunny.InkbunnyUnreadExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/submissionsviewall.php?mode=unreadsubs",
|
||||
"#category": ("", "inkbunny", "unread"),
|
||||
"#class" : inkbunny.InkbunnyUnreadExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/submissionsviewall.php?rid=ffffffffff&mode=search&page=1&orderby=create_datetime&text=cute&stringtype=and&keywords=yes&title=yes&description=no&artist=&favsby=&type=&days=&keyword_id=&user_id=&random=&md5=",
|
||||
"#category": ("", "inkbunny", "search"),
|
||||
@@ -120,6 +138,12 @@ __tests__ = (
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/submissionsviewall.php?mode=search",
|
||||
"#category": ("", "inkbunny", "search"),
|
||||
"#class" : inkbunny.InkbunnySearchExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/watchlist_process.php?mode=watching&user_id=20969",
|
||||
"#category": ("", "inkbunny", "following"),
|
||||
@@ -134,6 +158,12 @@ __tests__ = (
|
||||
"#class" : inkbunny.InkbunnyFollowingExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/usersviewall.php?mode=watching&user_id=20969",
|
||||
"#category": ("", "inkbunny", "following"),
|
||||
"#class" : inkbunny.InkbunnyFollowingExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://inkbunny.net/s/1829715",
|
||||
"#category": ("", "inkbunny", "post"),
|
||||
|
||||
Reference in New Issue
Block a user