Skip to content

Instantly share code, notes, and snippets.

@max-torch
Last active May 20, 2021 18:13
Show Gist options
  • Save max-torch/96b415b1986110ea9abe99465329c8e9 to your computer and use it in GitHub Desktop.
Save max-torch/96b415b1986110ea9abe99465329c8e9 to your computer and use it in GitHub Desktop.
Beautiful Soup load file
from bs4 import BeautifulSoup
soup = BeautifulSoup(open("your_file.html", encoding = 'utf8'), "html.parser")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment