Last active
August 29, 2015 14:04
-
-
Save pilgwon/2956f6e5f93dfe49cf91 to your computer and use it in GitHub Desktop.
DDP exhibition crawler
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 | |
from bs4 import BeautifulSoup | |
r = requests.get('http://www.ddp.or.kr/EP010001/getInitPage.do') | |
soup = BeautifulSoup(r.text) | |
exhibit_list = soup.find_all(class_='gallery_list')[0].find_all('li') | |
for ex in exhibit_list: | |
print ex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment