mirror of
https://github.com/mikf/gallery-dl.git
synced 2025-02-01 03:51:42 +01:00
[hentaifoundry] unescape YII_CSRF_TOKEN value
This fixes the POST requests to /site/filters
This commit is contained in:
parent
b828473aa3
commit
041bd501fc
@ -86,8 +86,8 @@ class HentaifoundryExtractor(Extractor):
|
|||||||
|
|
||||||
def set_filters(self):
|
def set_filters(self):
|
||||||
"""Set site-internal filters to show all images"""
|
"""Set site-internal filters to show all images"""
|
||||||
token = text.extract(
|
token = text.unquote(text.extract(
|
||||||
self.session.cookies["YII_CSRF_TOKEN"], "%22", "%22")[0]
|
self.session.cookies["YII_CSRF_TOKEN"], "%22", "%22")[0])
|
||||||
data = {
|
data = {
|
||||||
"YII_CSRF_TOKEN": token,
|
"YII_CSRF_TOKEN": token,
|
||||||
"rating_nudity": 3,
|
"rating_nudity": 3,
|
||||||
|
@ -24,8 +24,6 @@ TRAVIS_SKIP = {
|
|||||||
# temporary issues, etc.
|
# temporary issues, etc.
|
||||||
BROKEN = {
|
BROKEN = {
|
||||||
"deviantart",
|
"deviantart",
|
||||||
"dokireader",
|
|
||||||
"hentaifoundry",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user