Commit c7d02445 authored by Michael T Bailey's avatar Michael T Bailey

Merge branch 'master' into 'master'

Simple regex

See merge request !1
parents 81237827 5aa4e916
# We don't actually use bs4 yet but I'm sure we will
from bs4 import BeautifulSoup
import requests
import re
# Collect the HTML of the laundry page so we can parse it
r = requests.get('')
# Don't just assume the site doesn't time out or shit itself
if r.status_code == 200:
# Isolate Speedqueen URLS
for location in re.findall('(?<=quantum\.speedqueen\.com\/wa\/)(.*)(?=\" )',r.text):
# Print Location name
print location
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment