Generates a host list of first-party trackers for ad-blocking.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
555 B

#!/usr/bin/env python3
import markdown2
extras = ["header-ids"]
with open("dist/", "r") as fdesc:
body = markdown2.markdown(, extras=extras)
output = f"""<!DOCTYPE html>
<html lang="en">
<title>Geoffrey Frogeye's block list of first-party trackers</title>
<meta charset="utf-8">
<meta name="author" content="Geoffrey 'Frogeye' Preud'homme" />
<link rel="stylesheet" type="text/css" href="markdown7.min.css">
with open("dist/index.html", "w") as fdesc: