Send Accept-Language to avoid 500 Internal Server Error when sending Firefox UA to reddit.com

master
Ivan Kozik 2015-03-30 03:07:23 +00:00
parent 8bf1b00c46
commit 2983615d50
1 changed files with 1 additions and 0 deletions

View File

@ -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" \