mirror of
https://github.com/mikf/gallery-dl.git
synced 2025-01-31 19:51:34 +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):
|
||||
"""Set site-internal filters to show all images"""
|
||||
token = text.extract(
|
||||
self.session.cookies["YII_CSRF_TOKEN"], "%22", "%22")[0]
|
||||
token = text.unquote(text.extract(
|
||||
self.session.cookies["YII_CSRF_TOKEN"], "%22", "%22")[0])
|
||||
data = {
|
||||
"YII_CSRF_TOKEN": token,
|
||||
"rating_nudity": 3,
|
||||
|
@ -24,8 +24,6 @@ TRAVIS_SKIP = {
|
||||
# temporary issues, etc.
|
||||
BROKEN = {
|
||||
"deviantart",
|
||||
"dokireader",
|
||||
"hentaifoundry",
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user