logo Netzschleuder network catalog, repository, and centrifuge

History of trackers

The changes to the source code of this entry in the repository, newest first, each with the differences it made to the entry's files. They are also listed on GitLab.

[entries] Add the date when each entry was added, and remove icon_hash by Tiago de Paula Peixoto beff7c9
The dates are those of the commits that first added the entries' files
(2020-08-11 for the entries of the initial commit); renamed entries keep
the date of their first name.

Changed: none
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 5843381..75aff74 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -41,7 +41,7 @@ tags = ['Informational', 'Web graph', 'Unweighted', 'Metadata']
 url = ['https://ssc.io/trackingthetrackers/', 'http://konect.cc/networks/trackers-trackers']
 citation = [('S. Schelter, J. Kunegis, "Tracking the Trackers: A Large-Scale Analysis of Embedded Web Trackers." Proceedings of the International AAAI Conference on Web and Social Media 10(1), 679-682 (2016)', 'https://doi.org/10.1609/icwsm.v10i1.14769'),
             ('S. Schelter, J. Kunegis, "On the Ubiquity of Web Tracking: Insights from a Billion-Page Web Crawl." The Journal of Web Science 4(4), 53-66 (2018)', 'https://doi.org/10.1561/106.00000014')]
-icon_hash = '57ec18d08cf714f319c38ebe'
+date_added = '2020-08-11'
 upstream_license = ("Terms of use of the Common Crawl corpus",
                     "https://commoncrawl.org/terms-of-use/")
 # Too large to process on an ordinary machine (see --skip-huge)
[entries] Prefix the properties in the descriptions with (Node), (Edge) or (Graph) by Tiago de Paula Peixoto bc3dbbd
The lists of properties at the end of the descriptions marked edge
properties with "Edge" but left node properties unmarked, or grouped
them in "Nodes: `a`, ...; `b`, ..." items, so the kind of a property
was often unclear. Every item now starts with (Node), (Edge) or (Graph),
followed by the property names, a colon and the explanation, one item
per property or group of properties; qualifications (kinds of nodes,
networks) follow the names in parentheses. Properties that were only
named got a short explanation, and a few items that named the wrong
kind of property were corrected.
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 08980a7..5843381 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -28,13 +28,13 @@ The collection comprises two networks:
 
 The `trackers` network has the following properties:
 
-- `name`: the pay-level domain.
-- `pld_id`: the ID of the domain in the pay-level domain index of the source data.
-- `is_tracker`: whether the node is a tracker (otherwise it is a web site).
-- `category`: the category of the tracker (`Advertising`, `Analytics`, `Widget` or `Beacon`; empty for web sites).
-- `company`: the company owning the tracker, as determined by hand by the authors (empty for web sites).
-- `registration_country`: the country of registration of the domain of the tracker (two-letter code, `#` if unknown; empty for web sites).
-- `embeddings_javascript`, `embeddings_iframe`, `embeddings_image`, `embeddings_link`: the number of domains that embed the tracker as JavaScript code, in an iframe, as an image, or as another linked resource (e.g. style sheet), respectively (0 for web sites). The total number of domains that embed the tracker, also given in the source data, is the degree of the node.
+- (Node) `name`: the pay-level domain.
+- (Node) `pld_id`: the ID of the domain in the pay-level domain index of the source data.
+- (Node) `is_tracker`: whether the node is a tracker (otherwise it is a web site).
+- (Node) `category`: the category of the tracker (`Advertising`, `Analytics`, `Widget` or `Beacon`; empty for web sites).
+- (Node) `company`: the company owning the tracker, as determined by hand by the authors (empty for web sites).
+- (Node) `registration_country`: the country of registration of the domain of the tracker (two-letter code, `#` if unknown; empty for web sites).
+- (Node) `embeddings_javascript`, `embeddings_iframe`, `embeddings_image`, `embeddings_link`: the number of domains that embed the tracker as JavaScript code, in an iframe, as an image, or as another linked resource (e.g. style sheet), respectively (0 for web sites). The total number of domains that embed the tracker, also given in the source data, is the degree of the node.
 
 The source data also give the organization that registered the domain of each tracker, which was left out as it mostly coincides with the owning company."""
 tags = ['Informational', 'Web graph', 'Unweighted', 'Metadata']
[entries] Remove unneeded code from the entries by Tiago de Paula Peixoto 2c69f19
Unneeded "global files" statements, unused imports and variables,
f-strings without placeholders, duplicate keys in foodweb_little_rock
(keeping the order and the values used), and the second definition of
get_lines() in twitter_higgs. Nothing changes in the networks or
descriptions.

Changed: none
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index b3225b8..08980a7 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -136,7 +136,6 @@ def parse_tracking(name, fnames):
 @coerce_props()
 @annotate()
 def parse(alts=None):
-    global files
     name = __name__.split(".")[-1]
     for fnames, alt, fmt in files:
         if alts is not None and alt not in alts:
[entries] Add networks to existing entries by Tiago de Paula Peixoto 3023ce5
- digg_votes: the Digg friendship network (`friends`, next to `votes`)
- facebook_wall: the friendship links (`friends`, next to `wall`)
- interactome_vidal: CCSB's HI-I-05 interactions (`HI-I-05`, next to
  `maayan`)
- trackers: ssc.io's tracker embedding network (`trackers`, next to
  KONECT's `third_parties`), with corrected description and citations
- dblp_author_paper, dblp_cite, dblp_coauthor: the dblp release of
  2026-10-03 (`2026-10`, next to `2017`)
- fullerene_structures: year, licence and description
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 3abde0c..b3225b8 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -19,18 +19,118 @@
 from .. import *
 
 title = "Web domains and trackers (2012)"
-description = """A large bipartite network of internet domains and the trackers the contain (also identified by their domain), as collected from the CommonCrawl corpus.[^icon]
-[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
-tags = ['Informational', 'Web graph', 'Unweighted']
-url = 'http://konect.cc/networks/trackers-trackers'
-citation = [('S. Schelter, and J. Kunegis. "Tracking the Trackers: A Large-Scale Analysis of Embedded Web Trackers." In Proc. Internat. Conf. on Web and Social Media (ICWSM 2016).', 'https://doi.org/10.1561/106.00000014')]
+description = """Bipartite networks of web domains and the third-party services embedded in their pages, from the large-scale analysis of online tracking by S. Schelter and J. Kunegis. The data were extracted from the 3.5 billion web pages of the CommonCrawl 2012 corpus, a breadth-first crawl of the web: for each page, the extractor collected the pay-level domains (the sub-domains of a public top-level domain that are usually registered by a paying owner, e.g. `facebook.com`) of the external resources embedded in its HTML code, i.e. those referenced in the `src` attribute of `script`, `iframe`, `link` and `img` tags, and those found as URI strings in its embedded JavaScript code (third parties loaded dynamically by external JavaScript code cannot be found). The data were aggregated by pay-level domain, so that both web sites and third parties are represented by their pay-level domains. The 1,375 third parties found in at least 0.01% of the domains were labeled by hand according to their purpose and business model (e.g. advertising, analytics, widgets, content delivery, hosting), and 355 of them were deemed to be potentially privacy-threatening tracking services, whose purpose or business model aims at recording the behavior of the users visiting the pages that embed them (advertising, analytics, widgets and beacons).
+
+The collection comprises two networks:
+
+- `third_parties`: the third-party network, obtained from the Koblenz Network Collection (KONECT), with 27,665,730 domains and 12,756,244 third-party domains, and 140,613,762 edges. An edge connects a domain to a third party embedded in its pages. Each domain is represented by different nodes as a web site and as a third party. The nodes are not identified by their domain names, and have only the property `is_right`, which is true for the third parties.
+- `trackers`: the tracking network, from the web page of the authors, with the domains that embed at least one of the 355 tracking services, and the trackers themselves. An edge connects a domain to a tracker embedded in its pages. A domain that is also a tracker (e.g. `facebook.com`) is represented by different nodes as a web site and as a tracker.
+
+The `trackers` network has the following properties:
+
+- `name`: the pay-level domain.
+- `pld_id`: the ID of the domain in the pay-level domain index of the source data.
+- `is_tracker`: whether the node is a tracker (otherwise it is a web site).
+- `category`: the category of the tracker (`Advertising`, `Analytics`, `Widget` or `Beacon`; empty for web sites).
+- `company`: the company owning the tracker, as determined by hand by the authors (empty for web sites).
+- `registration_country`: the country of registration of the domain of the tracker (two-letter code, `#` if unknown; empty for web sites).
+- `embeddings_javascript`, `embeddings_iframe`, `embeddings_image`, `embeddings_link`: the number of domains that embed the tracker as JavaScript code, in an iframe, as an image, or as another linked resource (e.g. style sheet), respectively (0 for web sites). The total number of domains that embed the tracker, also given in the source data, is the degree of the node.
+
+The source data also give the organization that registered the domain of each tracker, which was left out as it mostly coincides with the owning company."""
+tags = ['Informational', 'Web graph', 'Unweighted', 'Metadata']
+url = ['https://ssc.io/trackingthetrackers/', 'http://konect.cc/networks/trackers-trackers']
+citation = [('S. Schelter, J. Kunegis, "Tracking the Trackers: A Large-Scale Analysis of Embedded Web Trackers." Proceedings of the International AAAI Conference on Web and Social Media 10(1), 679-682 (2016)', 'https://doi.org/10.1609/icwsm.v10i1.14769'),
+            ('S. Schelter, J. Kunegis, "On the Ubiquity of Web Tracking: Insights from a Billion-Page Web Crawl." The Journal of Web Science 4(4), 53-66 (2018)', 'https://doi.org/10.1561/106.00000014')]
 icon_hash = '57ec18d08cf714f319c38ebe'
+upstream_license = ("Terms of use of the Common Crawl corpus",
+                    "https://commoncrawl.org/terms-of-use/")
+# Too large to process on an ordinary machine (see --skip-huge)
+huge = True
 upstream_prefix = 'http://konect.cc/files'
-files = [('download.tsv.trackers-trackers.tar.bz2', None, 'konect')]
+ssc_prefix = 'https://ssc.io/trackingthetrackers'
+files = [('download.tsv.trackers-trackers.tar.bz2', 'third_parties', 'konect'),
+         (('tracking-graph.tsv.gz', 'pld-index.tsv.gz',
+           'labeled-thirdparties.csv'), 'trackers', 'ssc')]
 
 def fetch_upstream(force=False):
-    return fetch_upstream_files(__name__.split(".")[-1], upstream_prefix, files,
-                                force)
+    name = __name__.split(".")[-1]
+    fetch_upstream_files(name, upstream_prefix,
+                         [x for x in files if x[2] == "konect"], force)
+    fetch_upstream_files(name, ssc_prefix,
+                         [x for x in files if x[2] == "ssc"], force)
+
+def parse_tracking(name, fnames):
+    """Parse the tracking network of ssc.io: the edge list (lines "domain_id
+    tracking_domain_id"), the index of pay-level domains (lines "domain
+    domain_id"), and the labeled third parties."""
+    import pandas
+    with open_upstream_file(name, fnames[0], "rb") as f:
+        m = pandas.read_csv(f, sep="\t", header=None,
+                            dtype=numpy.int64).values
+    sites = numpy.unique(m[:, 0])
+    trackers = numpy.unique(m[:, 1])
+    NS = len(sites)
+    g = Graph(directed=False)
+    g.add_vertex(NS + len(trackers))
+    m[:, 0] = numpy.searchsorted(sites, m[:, 0])
+    m[:, 1] = NS + numpy.searchsorted(trackers, m[:, 1])
+    g.add_edge_list(m)
+    del m
+    ids = numpy.concatenate((sites, trackers))
+    del sites
+    g.vp.is_tracker = g.new_vp("bool")
+    g.vp.is_tracker.a[NS:] = True
+
+    # Domain names, read in chunks from the index, keeping only the domains in
+    # the network
+    names = numpy.empty(len(ids), dtype=object)
+    order = numpy.argsort(ids, kind="stable")
+    sids = ids[order]
+    with open_upstream_file(name, fnames[1], "rb") as f:
+        for chunk in pandas.read_csv(f, sep="\t", header=None,
+                                     names=["domain", "id"],
+                                     dtype={"domain": str, "id": numpy.int64},
+                                     keep_default_na=False, quoting=3,
+                                     encoding_errors="replace",
+                                     chunksize=5_000_000):
+            cid = chunk["id"].values
+            pos = numpy.searchsorted(sids, cid)
+            pos[pos == len(sids)] = 0
+            mask = sids[pos] == cid
+            dom = chunk["domain"].values[mask]
+            pos = pos[mask]
+            # a domain may be both a web site and a tracker
+            for k in (0, 1):
+                ok = (pos + k < len(sids))
+                p = pos[ok] + k
+                same = sids[p] == cid[mask][ok]
+                names[order[p[same]]] = dom[ok][same]
+    assert not any(x is None for x in names)
+    g.vp.name = g.new_vp("string", vals=names)
+    del names, order, sids
+    g.vp.pld_id = g.new_vp("int64_t", vals=ids)
+
+    # Labeled third parties; columns: domain, registration_org,
+    # registration_country, num_embeddings, num_embeddings_javascript,
+    # num_embeddings_iframe, num_embeddings_image, num_embeddings_link,
+    # category, company
+    with open_upstream_file(name, fnames[2], "r") as f:
+        rows = {r[0]: r for r in csv.reader(f, delimiter="\t",
+                                             quoting=csv.QUOTE_NONE)}
+    for k in ["category", "company", "registration_country"]:
+        g.vp[k] = g.new_vp("string")
+    for k in ["javascript", "iframe", "image", "link"]:
+        g.vp[f"embeddings_{k}"] = g.new_vp("int")
+    for i in range(NS, g.num_vertices()):
+        v = g.vertex(i)
+        r = rows[g.vp.name[v]]
+        assert int(r[3]) == v.out_degree()
+        g.vp.registration_country[v] = r[2]
+        for j, k in enumerate(["javascript", "iframe", "image", "link"]):
+            g.vp[f"embeddings_{k}"][v] = int(r[4 + j])
+        g.vp.category[v] = r[8]
+        g.vp.company[v] = r[9]
+    return g
 
 @cache_network()
 @coerce_props()
@@ -41,6 +141,9 @@ def parse(alts=None):
     for fnames, alt, fmt in files:
         if alts is not None and alt not in alts:
             continue
+        if fmt == "ssc":
+            yield alt, parse_tracking(name, fnames)
+            continue
         if isinstance(fnames, str):
             fnames = [fnames]
         with ExitStack() as stack:
Update copyright information by Tiago de Paula Peixoto 73a4f0d
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 0f031f8..3abde0c 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2026 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright information by Tiago de Paula Peixoto 3d288ea
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 2df47bd..0f031f8 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright information by Tiago de Paula Peixoto 8d005ae
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 31b1198..2df47bd 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright info by Tiago de Paula Peixoto db2efcc
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 8a3e956..31b1198 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Un-orphan KONECT datasets by Tiago de Paula Peixoto 894eba5
KONECT has been brought back from the dead for the time being.
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 643c830..8a3e956 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -26,7 +26,6 @@ url = 'http://konect.cc/networks/trackers-trackers'
 citation = [('S. Schelter, and J. Kunegis. "Tracking the Trackers: A Large-Scale Analysis of Embedded Web Trackers." In Proc. Internat. Conf. on Web and Social Media (ICWSM 2016).', 'https://doi.org/10.1561/106.00000014')]
 icon_hash = '57ec18d08cf714f319c38ebe'
 upstream_prefix = 'http://konect.cc/files'
-orphan = True
 files = [('download.tsv.trackers-trackers.tar.bz2', None, 'konect')]
 
 def fetch_upstream(force=False):
Update citations to use DOIs by Tiago de Paula Peixoto e878874
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 54e5c67..643c830 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -23,7 +23,7 @@ description = """A large bipartite network of internet domains and the trackers
 [^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
 tags = ['Informational', 'Web graph', 'Unweighted']
 url = 'http://konect.cc/networks/trackers-trackers'
-citation = [('S. Schelter, and J. Kunegis. "Tracking the Trackers: A Large-Scale Analysis of Embedded Web Trackers." In Proc. Internat. Conf. on Web and Social Media (ICWSM 2016).', 'https://ssc.io/pdf/trackers.pdf')]
+citation = [('S. Schelter, and J. Kunegis. "Tracking the Trackers: A Large-Scale Analysis of Embedded Web Trackers." In Proc. Internat. Conf. on Web and Social Media (ICWSM 2016).', 'https://doi.org/10.1561/106.00000014')]
 icon_hash = '57ec18d08cf714f319c38ebe'
 upstream_prefix = 'http://konect.cc/files'
 orphan = True
Add support for 'orphan' datasets and tag konect entries by Tiago de Paula Peixoto e330b80
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 6afef90..54e5c67 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -26,6 +26,7 @@ url = 'http://konect.cc/networks/trackers-trackers'
 citation = [('S. Schelter, and J. Kunegis. "Tracking the Trackers: A Large-Scale Analysis of Embedded Web Trackers." In Proc. Internat. Conf. on Web and Social Media (ICWSM 2016).', 'https://ssc.io/pdf/trackers.pdf')]
 icon_hash = '57ec18d08cf714f319c38ebe'
 upstream_prefix = 'http://konect.cc/files'
+orphan = True
 files = [('download.tsv.trackers-trackers.tar.bz2', None, 'konect')]
 
 def fetch_upstream(force=False):
Change license from GPLv3 to AGPLv3 by Tiago de Paula Peixoto d754be5
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 79b1dc6..6afef90 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -3,18 +3,18 @@
 #
 # Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
 #
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
+# details.
 #
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# You should have received a copy of the GNU Affero General Public License along
+# with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 from .. import *
 
Add explicit attribution to descriptions obtained from ICON by Tiago de Paula Peixoto 1645314
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
index 500ad52..79b1dc6 100644
--- a/entries/trackers/__init__.py
+++ b/entries/trackers/__init__.py
@@ -19,7 +19,8 @@
 from .. import *
 
 title = "Web domains and trackers (2012)"
-description = "A large bipartite network of internet domains and the trackers the contain (also identified by their domain), as collected from the CommonCrawl corpus."
+description = """A large bipartite network of internet domains and the trackers the contain (also identified by their domain), as collected from the CommonCrawl corpus.[^icon]
+[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
 tags = ['Informational', 'Web graph', 'Unweighted']
 url = 'http://konect.cc/networks/trackers-trackers'
 citation = [('S. Schelter, and J. Kunegis. "Tracking the Trackers: A Large-Scale Analysis of Embedded Web Trackers." In Proc. Internat. Conf. on Web and Social Media (ICWSM 2016).', 'https://ssc.io/pdf/trackers.pdf')]
Initial commit by Tiago de Paula Peixoto cc85872
diff --git a/entries/trackers/__init__.py b/entries/trackers/__init__.py
new file mode 100644
index 0000000..500ad52
--- /dev/null
+++ b/entries/trackers/__init__.py
@@ -0,0 +1,48 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+from .. import *
+
+title = "Web domains and trackers (2012)"
+description = "A large bipartite network of internet domains and the trackers the contain (also identified by their domain), as collected from the CommonCrawl corpus."
+tags = ['Informational', 'Web graph', 'Unweighted']
+url = 'http://konect.cc/networks/trackers-trackers'
+citation = [('S. Schelter, and J. Kunegis. "Tracking the Trackers: A Large-Scale Analysis of Embedded Web Trackers." In Proc. Internat. Conf. on Web and Social Media (ICWSM 2016).', 'https://ssc.io/pdf/trackers.pdf')]
+icon_hash = '57ec18d08cf714f319c38ebe'
+upstream_prefix = 'http://konect.cc/files'
+files = [('download.tsv.trackers-trackers.tar.bz2', None, 'konect')]
+
+def fetch_upstream(force=False):
+    return fetch_upstream_files(__name__.split(".")[-1], upstream_prefix, files,
+                                force)
+
+@cache_network()
+@coerce_props()
+@annotate()
+def parse(alts=None):
+    global files
+    name = __name__.split(".")[-1]
+    for fnames, alt, fmt in files:
+        if alts is not None and alt not in alts:
+            continue
+        if isinstance(fnames, str):
+            fnames = [fnames]
+        with ExitStack() as stack:
+            fs = [stack.enter_context(open_upstream_file(name, fn, "rb")) for fn in fnames]
+            g = parse_graph(fs, fmt, directed=True)
+        yield alt, g