You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Adam, thank you for your nice little script! :-)
I ran into the problem that the website I'd like to fetch all URLs from blocked the default wget User-Agent (currently "Wget/1.20.3 (linux-gnu)").
To progress with my task I manually changed your (current) script and added a User-Agent string (to the wget command) and it worked very well.
Question: Are you willing to add an option for the User-Agent?
If yes, I would prepare a PR … :-)
KR
The text was updated successfully, but these errors were encountered:
@sommer-gei did you ever prepare the Pull Request? I'm happy to add as an option if you want to submit the changes; just please limit the changes to only adding the User Agent option
(Changing the wget UA manually in the script code is no problem. Implementing/adding the UA as a script CLI parameter is more complex as I thought … #sry)
Hey Adam, thank you for your nice little script! :-)
I ran into the problem that the website I'd like to fetch all URLs from blocked the default
wget
User-Agent (currently"Wget/1.20.3 (linux-gnu)"
).To progress with my task I manually changed your (current) script and added a User-Agent string (to the
wget
command) and it worked very well.Question: Are you willing to add an option for the User-Agent?
If yes, I would prepare a PR … :-)
KR
The text was updated successfully, but these errors were encountered: