Skip to content

Instantly share code, notes, and snippets.

from bs4 import BeautifulSoup
import requests
def get_section_links(soup):
sections = []
for link in soup.find_all('a')[:20]:
print(link.text, link.get('href'))
if "/section/" in link.get(
@ebarns
ebarns / booty.py
Created November 13, 2019 02:42
bootyful soupy
from bs4 import BeautifulSoup
import requests
def get_section_links(soup):
sections = []
for link in soup.find_all('a')[:20]:
print(link.text, link.get('href'))
if "/section/" in link.get(
from SimpleCV import Camera
class AsciiBoi:
def __init__(self):
pass
def preProcess(self, img):
edge_img = img.edges(30, 60)