URLNumberOfAds

Fetches the numbers of ads in the given url.

python · Common Scripts

Details

IDURLNumberOfAds
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10404775
TagsUtility

README

Fetches the numbers of ads in the given URL.

Script Data


Name Description
Script Type python
Tags Utility

Inputs


Argument Name Description
url The URL to load and count ads on.
easylist The optional easylist to get ads from.

Outputs


Path Description Type
Ads.URL The URL ad found. Unknown
Ads.Count The count for the ad found. Unknown
URL.Data The URL that will be checked. Unknown
URL.AdsCount The ads count on the URL. Unknown
commonfields:
  id: URLNumberOfAds
  version: -1
name: URLNumberOfAds
script: ''
type: python
subtype: python3
tags:
- Utility
comment: Fetches the numbers of ads in the given url.
enabled: true
args:
- name: url
  required: true
  default: true
  description: URL to load and count ads on.
- name: easylist
  description: Optional easylist to get ads from.
  defaultValue: "https://easylist.github.io/easylist/easylist.txt"
outputs:
- contextPath: Ads.URL
  description: Ad URL found.
- contextPath: Ads.Count
  description: The count for the ad found.
- contextPath: URL.Data
  description: The URL we are checking.
- contextPath: URL.AdsCount
  description: The ads count on the URL.
scripttarget: 0
fromversion: 5.0.0
dockerimage: demisto/python3:3.12.13.10404775
tests:
- No tests (auto formatted)