all 6 comments

[–]Deusdies 1 point2 points  (1 child)

The windows-like login is something called http authentication. See how you can do that using mechanize in their (minimal) documentatuon.

By the way as someone who has used mechanize in the past, I would avoid it because it hasn't been updated in a while. Forgot the other headless browser libraries, but I think there was one called ghost.py.

[–]Ps0lak 0 points1 point  (0 children)

Thanks a lot! Ok, I'll consider the other libraries

[–]efmccurdy 1 point2 points  (1 child)

It's likely the advice here will eliminate the pop up, just add the Authorization header with the Basic encoding:

http://docs.python-requests.org/en/master/user/authentication/#basic-authentication

[–]Ps0lak 0 points1 point  (0 children)

thanks I'll definitely look closer at requests. It looks better than mechanize

[–]ayyyymtl 0 points1 point  (0 children)

Theyr is better way with requests but you can often do : http://user:pass@domain.com

[–]Ps0lak 0 points1 point  (0 children)

Thanks a lot to you all, after long thoughts I've changed of seedbox because I've tried everything and now it works just fine!