A web scraper for scraping wuxiaworld. Written in python, using selenium and python cmd for an interactive shell experience with a command line utility to work with text along with a database to store information.
let btnList = document.getElementsByTagName("button");
for (let btn of btnlist) {
if (btn.innerText.toLowerCase() == "log in") {
btn.click();
}
}
And so, the final script will become.
document.getElementsByTagName("button")[0].click();
let btnList = document.getElementsByTagName("button");
for (let btn of btnlist) {
if (btn.innerText.toLowerCase() == "log in") {
btn.click();
}
}
We just need to get to the homepage, and run this script in the console. After that the method to enter email and password should be the same.
Previously WW had it's own login page. Now we must click on the login button after visiting the homepage. There we need to click on a button
Thankfully, it's the first button of the webpage. Hence, below code will return the button we need.
We can click it
And then click on the login button.
Using this script
And so, the final script will become.
We just need to get to the homepage, and run this script in the console. After that the method to enter email and password should be the same.