Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fetch downloads from registry.hub.docker.io
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
You can’t perform that action at this time.