Send Accept-Language to avoid 500 Internal Server Error when sending Firefox UA to reddit.com
parent
8bf1b00c46
commit
2983615d50
|
@ -35,6 +35,7 @@ touch "$dir/ignores"
|
|||
HOOK_SETTINGS_DIR="$dir" PYTHONPATH="$self" ~/.local/bin/wpull3 \
|
||||
-U "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0" \
|
||||
--header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
|
||||
--header="Accept-Language: en-US,en;q=0.5" \
|
||||
-o "$dir/wpull.log" \
|
||||
--database "$dir/wpull.db" \
|
||||
--plugin-script "$self/plugin.py" \
|
||||
|
|
Loading…
Reference in New Issue