[fantia] send 'X-Requested-With' header (#4273)

This commit is contained in:
Mike Fährmann
2023-07-06 19:03:53 +02:00
parent 7444fc125b
commit c2ac665ff7

View File

@@ -23,6 +23,7 @@ class FantiaExtractor(Extractor):
self.headers = {
"Accept" : "application/json, text/plain, */*",
"Referer": self.root,
"X-Requested-With": "XMLHttpRequest",
}
_empty_plan = {
"id" : 0,