Skip to content

Tag: python

Python Selenium Logon

This code technically works to login just fine. However, on successful login it prints both login successful, and login incorrect. on failed login it only prints login incorrect. I’m using python3, and selenium. I believe this may be a syntax error, but I’m just not sure how to fix it. I can hard-…

soup.select() returns an empty list

I have an issue with .select which always returns an empty list while practicing webscraping. I am working on the following page: https://presse.ania.net/news/?page=1 using BeautifulSoup. I am getting and parsing HTML as following: I try to retrieve the urls of each articles displayed on the page, under class…