-
v4.6
-
New
- Add argument
-ftto specify a list of MIME Types to filter. This will override theFILTER_MIMElist inconfig.yml. NOTE: This will NOT be applied to Alien Vault OTX and Virus Total because they don't have the ability to filter on MIME Type. Sometimes URLScan does not have a MIME Type defined - these will always be included. Consider excluding sources if this matters to you.. - Add argument
-mtto specify a list of MIME Types to match. This will be used instead of the default filtering usingFILTER_MIMElist inconfig.yml, or filtering using-ft. NOTE: This will NOT be applied to Alien Vault OTX and Virus Total because they don't have the ability to filter on MIME Type. Sometimes URLScan does not have a MIME Type defined - these will always be included. Consider excluding sources if this matters to you.. - Add argument
--providersin the same way asgau. A comma separated list of source providers that you want to get URLs from. The values can bewayback,commoncrawl,otx,urlscanandvirustotal. Passing this will override any exclude arguments (e.g.-xwm,-xcc, etc.) passed to exclude sources, and reset those based on what was passed with this argument.
- Add argument
-
Changed
- When argument
--verbosehas been used and the options are shown, show the name of providers that will be searched instead of the exclude arguments, e.g.-xwm,-xcc, etc. - Change
HTTP_ADAPTER_CCused for Common Crawl requests to useretries+3instead ofreties+20. This was originally suggested by Common Crawl, but there are so many issues it can just take forever to get anything from their API, and often fail anyway. - Change the default of
-lccto 1 instead of 3 because of so many problems with Common Crawl. - BUG FIX: If a connection error occurs when getting the Common Crawl index file, then error
ERROR getCommonCrawlUrls 1: object of type 'NoneType' has no len()is displayed. This will now be suppressed. - BUG FIX: If arg
-mcwas not passed and-ftwas, when options were shown to the user (inshowOptionsfunction), the value of-mcwas shown for-ft. - BUG FIX: When a MIME type is used in a filter for Wayback Machine that has a
+in it (e.g.image/svg+xml), then the+was replaced because that'#s the only way Wayback recognises it. However, it was being escaped first and was being converted toimage/svg\.xmlinstead ofimage/svg.xmlso was not recognised in the filter.
- When argument
-