Python scrape website w/BeautifulSoup4 shwoing attribute error for table with class name
问题 I am following this tutorial: https://www.pluralsight.com/guides/extracting-data-html-beautifulsoup To download the table on this page: http://www.knapsackfamily.com/LunchBox/top.php#res Edit: That table appears after I click the button "List All" which is an input in a form with action=top.php#res . I inspected the table: and it shows the table classes are either sortable dl or sortable d1 so I tried them both in my script: """ get knapsack food table and table at link "more" follow: https:/