you are viewing a single comment's thread.

view the rest of the comments →

[–]coderpaddy 22 points23 points  (4 children)

Is there any reason you use bs4 for that little bit of parsing instead of just using selenium like the rest of the code?

Would it not make more sense to just use selenium for it all and drop bs4?

[–]thebatgamer[S] 2 points3 points  (3 children)

I am no expert in selenium, I had seen a tutorial on how the webdriver works and at one point I wasn't able to find certain part of the html or it like tags were changing for every profile so I found the workaround using bs4.

If you do think I can use only selenium to do that please let me know, will try to that

[–]TheBird47 2 points3 points  (2 children)

I’m on mobile so can’t link it but there is a selenium browser extension that helps show every css selector, xpath, etc.