Skip to content

Commit

Permalink
[fantia] send 'X-Requested-With' header (#4273)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jul 6, 2023
1 parent 7444fc1 commit c2ac665
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gallery_dl/extractor/fantia.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def items(self):
self.headers = {
"Accept" : "application/json, text/plain, */*",
"Referer": self.root,
"X-Requested-With": "XMLHttpRequest",
}
_empty_plan = {
"id" : 0,
Expand Down

0 comments on commit c2ac665

Please sign in to comment.