Created
November 14, 2019 11:36
-
-
Save Tony363/6fcdbaaa6f2dedc450e06dd74344a77e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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