I am trying to collect the comments on Seeking Alpha (for example: https://seekingalpha.com/article/4243835-teslas-low-2019-capex-harm-growth-story-brand-value). I list one of the comments that I collect with the code in the quotes. The code I am using is ().text (also listed at the end).
The problem is that sometimes, it can correctly return the apostrophe (') [like "Boeing's" in the first paragraph] but at other times, it returns "’" [like "America’s" in the second paragraph].
"@trentbridge Holy cow what a galactically stupid argument. From Boeing's Official Website (HINT: They do not consider themselves a TECH company)
General Information. Boeing is the world's largest aerospace company and leading manufacturer of commercial jetliners, defense, space and security systems, and service provider of aftermarket support. As America’s biggest manufacturing exporter, the company supports airlines and U.S. and allied government customers in more than 150 countries.
..."
It is possible that I can just replace all "’" with "'" after collecting all contents. However, I do prefer to figure out a way to refuse getting wrong characters at the first place.
Any help would be appreciated!
[comment.text for comment in driver.find_elements_by_class_name('b-c-content')]