Created
September 15, 2014 20:00
-
-
Save ChristianKniep/7a7a45e68ccdbf4ee470 to your computer and use it in GitHub Desktop.
Fetch downloads from registry.hub.docker.io
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
from bs4 import BeautifulSoup | |
import requests | |
req = requests.get("https://registry.hub.docker.com/u/qnib/monster/") | |
data = r.text | |
soup = BeautifulSoup(data) | |
for div in soup.findAll("span", class_="downloads"): | |
print div.text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment