Fixed formatting.
This commit is contained in:
parent
146ae3c279
commit
4069dd21a3
89 changed files with 615 additions and 496 deletions
|
@ -1,13 +1,14 @@
|
|||
# Plugin by Infinity - <https://github.com/infinitylabs/UguuBot>
|
||||
|
||||
from util import hook, http
|
||||
import random
|
||||
from util import hook, http
|
||||
|
||||
|
||||
mlia_cache = []
|
||||
|
||||
|
||||
def refresh_cache():
|
||||
"gets a page of random MLIAs and puts them into a dictionary "
|
||||
"""gets a page of random MLIAs and puts them into a dictionary """
|
||||
url = 'http://mylifeisaverage.com/%s' % random.randint(1, 11000)
|
||||
soup = http.get_soup(url)
|
||||
|
||||
|
|
Reference in a new issue