Skip to content

Commit

Permalink
only for the VT class
Browse files Browse the repository at this point in the history
  • Loading branch information
ytonui committed Sep 24, 2020
1 parent 1c46ee2 commit 352a7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion threat_intel/virustotal.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, api_key, cache_file_name=None, update_cache=True, req_timeout
req_timeout: Maximum number of seconds to wait without reading a response byte before deciding an error has occurred.
Default is None.
"""
self._requests = MultiRequest(req_timeout=req_timeout, default_headers={'x-apikey': api_key})
self._requests = MultiRequest(req_timeout=req_timeout, default_headers={'x-apikey': api_key}, drop_404s=True)

# Create an ApiCache if instructed to
self._cache = ApiCache(cache_file_name, update_cache) if cache_file_name else None
Expand Down

0 comments on commit 352a7d6

Please sign in to comment.