Added user agent to install user.js file to avoid anti_scrape bot
This commit is contained in:
@@ -14,7 +14,7 @@ in {
|
||||
if [ -d "$zen_dir" ]; then
|
||||
for profile in "$zen_dir"/*/; do
|
||||
if [ -f "$profile/prefs.js" ]; then
|
||||
runuser -u someone -- ${pkgs.curl}/bin/curl -sL -o "$profile/user.js" \
|
||||
runuser -u someone -- ${pkgs.curl}/bin/curl -A Lix -sL -o "$profile/user.js" \
|
||||
"https://git.severijnse.eu/jory/user.js/raw/branch/master/user.js"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user