Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
html data cell attribute issue
#1
hi all,

an attribute that i need to use to identify a <td> contains the keyword 'data'...

for cell in row.find_all('td',data-ending_ = 'RPR'):
SyntaxError: keyword can't be an expression

is there a way around this?
Reply


Messages In This Thread
html data cell attribute issue - by delahug - May-28-2020, 09:41 PM
RE: html data cell attribute issue - by Larz60+ - May-29-2020, 02:17 AM
RE: html data cell attribute issue - by delahug - May-30-2020, 10:56 AM
RE: html data cell attribute issue - by Larz60+ - May-30-2020, 03:30 PM
RE: html data cell attribute issue - by snippsat - May-30-2020, 04:01 PM
RE: html data cell attribute issue - by delahug - May-31-2020, 09:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to scrape data from HTML with no identifiers pythonpaul32 2 964 Dec-02-2023, 03:42 AM
Last Post: pythonpaul32
  Post HTML Form Data to API Endpoints Dexty 0 1,449 Nov-11-2021, 10:51 PM
Last Post: Dexty
  HTML multi select HTML listbox with Flask/Python rfeyer 0 4,746 Mar-14-2021, 12:23 PM
Last Post: rfeyer
  Cleaning HTML data using Jupyter Notebook jacob1986 7 4,257 Mar-05-2021, 10:44 PM
Last Post: snippsat
  Any way to remove HTML tags from scraped data? (I want text only) SeBz2020uk 1 3,542 Nov-02-2020, 08:12 PM
Last Post: Larz60+
Thumbs Up Issue facing while scraping the data from different websites in single script. Balamani 1 2,185 Oct-20-2020, 09:56 AM
Last Post: Larz60+
  POST request with form data issue web scraping hoff1022 1 2,743 Aug-14-2020, 10:25 AM
Last Post: kashcode
  Extracting html data using attributes WiPi 14 5,653 May-04-2020, 02:04 PM
Last Post: snippsat
  extrat data from a button html windows11 1 2,027 Mar-24-2020, 03:39 PM
Last Post: Larz60+
  Python3 + BeautifulSoup4 + lxml (HTML -> CSV) - How to loop to next HTML/new CSV Row BrandonKastning 0 2,419 Mar-22-2020, 06:10 AM
Last Post: BrandonKastning

Forum Jump:

User Panel Messages

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