Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
max-ostapenko committed Oct 30, 2024
1 parent b98454b commit 858324e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sql/util/whotracksme_trackers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,14 @@
import requests
from bq_writer import write_to_bq, bigquery


# get current year
year = DateTime.now().year

# Retrieve and extract trackers as identified by WhoTracks.me.
# https://github.com/ghostery/whotracks.me/blob/master/blog/generating_adblocker_filters.md#loading-the-data
tracker_db = requests.get(
"https://raw.githubusercontent.com/whotracksme/whotracks.me/master/whotracksme/data/assets/trackerdb.sql",
timeout=10,
).text

trackers_query = f"""
trackers_query = """
SELECT
'2024-06-01' AS date,
categories.name as category,
Expand Down

0 comments on commit 858324e

Please sign in to comment.