Created
June 8, 2019 20:49
-
-
Save Frichetten/84ac05d44e447c725c2da828381c4c36 to your computer and use it in GitHub Desktop.
A quick python script to dump the list of websites from https://www.madewithangular.com/
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
#!/usr/bin/env python3 | |
from urllib.request import urlopen | |
from bs4 import BeautifulSoup | |
html = urlopen('https://www.madewithangular.com/categories/angular/') | |
soup = BeautifulSoup(html, features="html5lib") | |
for link in soup.find_all('a', href=True): | |
if "/categories/" in link['href']: | |
None | |
elif "made.w.angular" in link['href']: | |
None | |
elif link['href'] == "/": | |
None | |
elif "/about/" in link['href']: | |
None | |
elif "madewithangular" in link['href']: | |
None | |
else: | |
print(link['href']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment