I am trying to scrape class div id="ideas_body"
from this site, but it seems to be missing. I have tried the different parsers linked to in this post (Missing parts on Beautiful Soup results), but none have been successful.
Here is my code:
import requests
from bs4 import BeautifulSoup
import lxml
# Set Soup
url = 'https://www.com/ideas#'
headers = {'User-Agent': 'Mozilla/5.0'}
page = requests.get(url, headers=headers)
and the unsuccessful parsers I have tried:
soup = BeautifulSoup(page.content, 'lxml-xml')
soup = BeautifulSoup(page.content, 'html.parser')
soup = BeautifulSoup(page.content, 'html.parser-xml')
soup = BeautifulSoup(page.content, 'html5lib')
So how can I parse this ID in order to scrape it?