I want to extract all the paragraphs from this article but I managed to only get the first paragraph using selenium for python. The article link is: https://nthqibord.com/2019/08/15/pemimpin-pkr-pertahan-tun-mahathir/
I'm doing this as practice but can't extract the whole article.
I already tried the code below to extract the exact portion of the paragraph:
post = driver.find_element_by_xpath("//div[@class='td-ss-main-content']/div[@class='td-post-content']//p")
It resulted in only getting the first paragraph. I need all the paragraphs.