brew update brew install redis
To have launchd start redis now and restart at login:
brew services start redis
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
|# if you want to pull data from an API, requests is your friend|
|# BeautifulSoup helps us extract data from html, xml, ..|
|from bs4 import BeautifulSoup|
|# this is the type of strings extracted from html|
|from bs4.element import NavigableString|
|ug_results = |
|# set these to a big number like 1000, 10000, any number that makes sense as an index number|
|from BeautifulSoup import BeautifulSoup|
|for tag in soup.findAll(True):|
|tag.attrs = None|
|doc = '<html><head><title>test</title></head><body id="foo" onload="whatever"><p class="whatever">junk</p><div style="background: yellow;" id="foo" class="blah">blah</div></body></html>'|