Created
March 25, 2016 22:04
-
-
Save bmsleight/03d6e8f602b39c5e0a5d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| from bs4 import BeautifulSoup | |
| soup = BeautifulSoup(open("index.html")) | |
| soup.find_all("span", class_="time")[270].a.get('href') # Get link to main vine page (which then needs parsing) | |
| soup.find_all("span", class_="time")[270].a.text # Time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment