Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selenium extract id text
Hello, I am a beginner in programming and I decided to start with python, I am trying to extract statistics from the website, all games on the homepage have id = "g_1_code", example id = "g_1_V156ds23", I wanted to take only what comes next g_1_, to be able to put my bot to access the game page, can someone help me?
I suggest that you run through snippsat's web scraping tutorials on this site.
They only take a short period of time to complete and will give you the basics.
web scraping part 1
web scraping part 2

Possibly Related Threads…
Thread Author Replies Views Last Post
  selenium wait for text question Larz60+ 3 1,346 Oct-25-2021, 09:50 AM
Last Post: Larz60+
  Extract Href URL and Text From List knight2000 2 1,816 Jul-08-2021, 12:53 PM
Last Post: knight2000
  How to get specific TD text via Selenium? euras 3 4,404 May-14-2021, 05:12 PM
Last Post: snippsat
  Extract data with Selenium and BeautifulSoup nestor 3 2,616 Jun-06-2020, 01:34 AM
Last Post: Larz60+
  Getting text using Selenium WiPi 10 3,142 Apr-27-2020, 08:58 AM
Last Post: WiPi
  Selenium returning web element instead of desired text newbie_programmer 1 3,854 Dec-11-2019, 06:37 AM
Last Post: Malt
  Extract text from tag content using regular expression Pavel_47 8 3,218 Nov-25-2019, 03:17 PM
Last Post: buran
  Extract text between bold headlines from HTML CostasG 1 1,514 Aug-31-2019, 10:53 AM
Last Post: snippsat
  Extract Anchor Text (Scrapy) soothsayerpg 2 6,899 Jul-21-2018, 07:18 AM
Last Post: soothsayerpg
  webscraping - failing to extract specific text from rontar 2 2,363 May-19-2018, 08:01 AM
Last Post: rontar

Forum Jump:

User Panel Messages

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