mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-02-27 02:30:45 +08:00
fix: proxy extract error
This commit is contained in:
@@ -53,7 +53,7 @@ class ProxyProvider(ABC):
|
||||
|
||||
class IpCache:
|
||||
def __init__(self):
|
||||
self.cache_client: AbstractCache = CacheFactory.create_cache(cache_type=config.CACHE_TYPE_MEMORY)
|
||||
self.cache_client: AbstractCache = CacheFactory.create_cache(cache_type=config.CACHE_TYPE_REDIS)
|
||||
|
||||
def set_ip(self, ip_key: str, ip_value_info: str, ex: int):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user