def __init__(self, api_key, source, logger):
self.apiKey = api_key
self.source = source
self.logger = logger
self.sort_error_displayed = False
self.http = urllib3.PoolManager(
cert_reqs = "CERT_REQUIRED", # Force certificate check.
ca_certs = certifi.where(), # Path to the Certifi bundle.
)
# Retrieves articles from source
评论列表
文章目录