Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Advancing Page Numbers
#3
Thank you so much snippsat. I'm going to read that a few times to study and try and learn it.

Pardon my ignorance, but on line 11 of your code:

singel_page = soup.select_one('li.next > a')
, could you please enlighten me what that's doing? It's looking for the "next" tag I think, but I'm not sure about the >a?
Reply


Messages In This Thread
Advancing Page Numbers - by knight2000 - May-22-2023, 07:09 AM
RE: Advancing Page Numbers - by snippsat - May-22-2023, 12:40 PM
RE: Advancing Page Numbers - by knight2000 - May-23-2023, 11:15 AM
RE: Advancing Page Numbers - by snippsat - May-23-2023, 02:14 PM
RE: Advancing Page Numbers - by knight2000 - May-24-2023, 09:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Advancing Through Variables In A List knight2000 0 548 May-13-2023, 03:30 AM
Last Post: knight2000
  Print Numbers starting at 1 vertically with separator for output numbers Pleiades 3 3,812 May-09-2019, 12:19 PM
Last Post: Pleiades

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020