1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 14:27:27 +00:00

Merge branch 'dev'

This commit is contained in:
Myned 2017-10-27 21:32:16 -04:00
commit 9f3c34d315

View file

@ -1,3 +1,4 @@
import asyncio
import re import re
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
@ -8,6 +9,8 @@ from utils import utils as u
async def get_post(url): async def get_post(url):
await asyncio.sleep(u.RATE_LIMIT)
content = await u.fetch('http://iqdb.harry.lu', params={'url': url}) content = await u.fetch('http://iqdb.harry.lu', params={'url': url})
try: try: