mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Initial work
This commit is contained in:
parent
0f3fb86148
commit
0e46d4c971
|
@ -1,7 +1,10 @@
|
|||
import logging
|
||||
from urllib.parse import urlparse
|
||||
|
||||
logger = logging.getLogger("rcgcdw.ratelimiter")
|
||||
|
||||
class RateLimiter:
|
||||
def __init__(self):
|
||||
self.domain_requests: dict = {}
|
||||
|
||||
def get_timeout(self, url):
|
||||
|
|
Loading…
Reference in a new issue