Python Forum
Help on parsing simple text on HTML
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help on parsing simple text on HTML
#4
(Jan-02-2020, 09:08 PM)Axel_Erfurt Wrote: There is no strike price which is 4400 on this site.

Output:
January 2020 Cours - 02/01/20 Comp. Dernier Achat Vente Strike Achat Vente Dernier Comp. 130.23 - 122.80 150.00 C 5925.00 P - - 21.40 21.71 109.83 121.40 105.00 128.60 C 5950.00 P - - 24.70 26.32 90.37 102.00 - 108.10 C 5975.00 P - - 28.30 31.86 72.37 76.00 72.40 150.00 C 6000.00 P - 45.00 35.00 38.86 55.77 65.20 - - C 6025.00 P - - 43.10 47.27 40.68 43.00 - 49.50 C 6050.00 P - 90.00 53.20 57.19 28.48 35.50 - 40.70 C 6075.00 P - 76.20 63.00 69.98 19.16 21.00 - 30.10 C 6100.00 P - - - 85.67 11.81 18.60 - 15.60 C 6125.00 P - - - 103.32 7.17 7.70 2.90 24.90 C 6150.00 P - 132.60 - 123.70 2.42 2.80 - 7.50 C 6200.00 P - - - 168.96

Hey, that's because you've probably displayed the compact mode, try the "All strikes" (just on the right, next to the Maturity selection).

By the way, how the heck did you get this output !!! tell me the magic lol

(Jan-02-2020, 09:09 PM)Larz60+ Wrote: Also, you will need to use selenium to render the JavaScript, otherwise you will not find your table.

Ok... but I have no clear idea about how to do that. How could you know it is a page written in javascript ?
I don't have a lot of knowledge about web programming...

Thank you by the way
Reply


Messages In This Thread
Help on parsing simple text on HTML - by amaumox - Jan-02-2020, 08:28 PM
RE: Help on parsing simple text on HTML - by amaumox - Jan-02-2020, 09:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  HTML multi select HTML listbox with Flask/Python rfeyer 0 4,654 Mar-14-2021, 12:23 PM
Last Post: rfeyer
  Parsing html page and working with checkbox (on a captcha) straannick 17 11,377 Feb-04-2021, 02:54 PM
Last Post: snippsat
  Any way to remove HTML tags from scraped data? (I want text only) SeBz2020uk 1 3,480 Nov-02-2020, 08:12 PM
Last Post: Larz60+
  Help: Beautiful Soup - Parsing HTML table ironfelix717 2 2,703 Oct-01-2020, 02:19 PM
Last Post: snippsat
  Python3 + BeautifulSoup4 + lxml (HTML -> CSV) - How to loop to next HTML/new CSV Row BrandonKastning 0 2,379 Mar-22-2020, 06:10 AM
Last Post: BrandonKastning
  Web crawler extracting specific text from HTML lewdow 1 3,416 Jan-03-2020, 11:21 PM
Last Post: snippsat
  Extract text between bold headlines from HTML CostasG 1 2,344 Aug-31-2019, 10:53 AM
Last Post: snippsat
  Getting a specific text inside an html with soup mathieugrimbert 9 15,967 Jul-10-2019, 12:40 PM
Last Post: mathieugrimbert
  XML Parsing - Find a specific text (ElementTree) TeraX 3 4,082 Oct-09-2018, 09:06 AM
Last Post: TeraX
  Beutifulsoup: how to pick text that's not in HTML tags? pitonas 4 4,739 Oct-08-2018, 01:43 PM
Last Post: pitonas

Forum Jump:

User Panel Messages

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