We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Scraping tables from webpage using BeautifulSoup, error message: list index out of range

Roche
8 - Asteroid

Hi everyone, 

 

I am trying to scape all the tables from the webpage https://support.f5.com/csp/article/K4309

Please see the attached python code.

My code is giving the following error message:

Roche_2-1647523396609.png

A screenshot of the first table that I am trying to scrape (head and tail) is given below.  The tables' columns are consistent except for the very last row.  And I am wondering if this is the reason for this error message.  If so, or else, can someone please help me to correct this mistake? 

 

Roche_0-1647523072338.png

..........

..........

..........

Roche_1-1647523108320.png

 

Thank you for your help

 

Rouche

 

11 REPLIES 11
Roche
8 - Asteroid

Hi Philip, 

 

Thank you!  That works - filtering on <table.

 

Rouche

 

Roche
8 - Asteroid

Thank you Philip

Labels
Top Solution Authors