Answer the question
In order to leave comments, you need to log in
Grab in ubuntu saves cookies, but in Windows 8.1 it doesn't?
Good day!
The problem is this. I create a parser that logs into the site under an account. I work in Linux
The code looks like this:
Astro=Grab(log_file='Forum.html')
Astro.setup(reuse_cookies=True)
Astro.go(URL_login)#Переход на страницу регистрации
Astro.doc.set_input('user', Login)#Вводим имя пользователя
Astro.doc.set_input('passwrd', Password)#Вводим пароль
Astro.doc.set_input('cookielength', Cook_length)#Выставляем время сессии
Astro.doc.submit()#Нажатие кнопки "Регистрация"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question