Skip to content

Instantly share code, notes, and snippets.

@Tony363
Created November 14, 2019 11:36
Show Gist options
  • Save Tony363/6fcdbaaa6f2dedc450e06dd74344a77e to your computer and use it in GitHub Desktop.
Save Tony363/6fcdbaaa6f2dedc450e06dd74344a77e to your computer and use it in GitHub Desktop.
import requests
import urllib
from bs4 import BeautifulSoup
url = requests.get('https://app.chartmetric.com/artist?id=4')
soup = BeautifulSoup(url.content, 'html.parser')
message_box = soup.find_all("div",{"class":"left-col"})
# print(soup.find_all("div"))
print(message_box)
print('hello world')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment