![]() ![]() Post = session. So my code looks like following now and it works! (probably some header fields can be removed) cookies = ')Ĭaptcha_img = session.get(captcha_url, headers=headers, cookies=cookies) ![]() Proxy Server List - this page provides and maintains the largest and the most up-to-date list of. Second thing which I discovered was that I need to request capthca file within the session with my headers and cookies. They also offer standard VPN solutions including hide. You can find what does your browser actually post there. They can be easily discovered with Firefox Developer Tools - Network. Soup = bs4.BeautifulSoup(page, 'html.parser')Ĭaptcha_url = (soup.find('img', alt='captcha'))Ĭaptcha_file = os.path.join(BASE_FOLDER, 'captcha.jpg')įirst of all I was not sure about payload fields to POST. Login URL: Ĭould anybody help me, please? SERVERS_URL = '' I am downloading capthca and enter it manually. Everything works if I login with browser and copy 'PHPSESSID' cookie, but I want to log in with Python. Username, password and captcha are required. I am trying to scrape servers list from which is for members only. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |