mirror of
https://github.com/benbusby/farside.git
synced 2025-06-08 10:26:36 +00:00
Set headers for every HTTPoison request
This serves as a workaround for bot blocking via filtron.
This commit is contained in:
parent
1216854196
commit
4a824e449b
2 changed files with 9 additions and 2 deletions
|
@ -8,4 +8,10 @@ config :farside,
|
|||
fallback_suffix: "-fallback",
|
||||
previous_suffix: "-previous",
|
||||
services_json: "services.json",
|
||||
index: "index.eex"
|
||||
index: "index.eex",
|
||||
headers: [
|
||||
{"User-Agent", "Mozilla/5.0 (Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0"},
|
||||
{"Accept", "text/html"},
|
||||
{"Accept-Language", "en-US,en;q=0.5"},
|
||||
{"Accept-Encoding", "gzip, deflate, br"}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue