I am trying to open and convert my HTML file into a CSV so I can use it as a dataframe.
import requests
from bs4 import BeautifulSoup
import pandas as pd
url = 'file:///C:/Users/jessi/OneDrive/Documents/posts.html'
response = request.get(url)
soup = BeautifulSoup(response.text, 'html.parser')
print(soup)
got this error: InvalidSchema: No connection adapters were found for 'file://C://Users//jessi//OneDrive//Documents//posts.html'