simao-silva / noip-renewer

Renewing No-IP hosts by browser automation
https://hub.docker.com/r/simaofsilva/noip-renewer
MIT License
76 stars 23 forks source link

user agent not passed correctly #136

Closed Exceen closed 4 months ago

Exceen commented 4 months ago

hi! just wanted to point out that you are missing 2 leading '-' for the user agent to work properly

that line should look like

browser_options.add_argument("--user-agent=" + get_user_agent())

https://github.com/simao-silva/noip-renewer/blob/040b95e5e62d73ccbd71f7ca2c9d0036400a281b/renew.py#L83

appreciate your work!

simao-silva commented 4 months ago

Fixed in #146 .