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
import requests | |
from os import mkdir, sep, listdir | |
from BeautifulSoup import BeautifulSoup as Soup | |
# Load page | |
soup = Soup(requests.get("http://bropages.org/browse").text) | |
# Get rows excluding header | |
rows = soup.findAll('tr')[1:] | |
cmds = [] | |
# iterate over rows, get commands, save list without duplicates | |
for a in rows: |