I am a beginner at websoup, i can't manage to to scrape several pages (5) on following website http://www.newyorksocialdiary.com/party-pictures (http://www.newyorksocialdiary.com/party-pictures?page=1-5) & i don't know how to put the output in a dataframe (dates). Thanks!
from bs4 import BeautifulSoup
import requests
for i in range(10):
url= "http://www.newyorksocialdiary.com/party-pictures".format(i)
r=requests.get(url)
soup= BeautifulSoup(r.text)
for r in soup.findAll('span', attrs={'class': 'views-field views-field-created'}) :
print r.get_text()