File: offblocklist.py

package info (click to toggle)
offpunk 2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,548 kB
  • sloc: python: 5,078; sh: 110; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 855 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# The following are the default redirections from Offpunk
# Those are by default because they should make sens with offpunk

redirects = {
    "*reddit.com"  : "teddit.net",
    "*medium.com"  : "scribe.rip",
    }


#following are blocked URLs. Visiting them with offpunk doesn’t make sense.
#Blocking them will save a lot of bandwith

blocked = {
    "twitter.com",
    "x.com",
    "youtube.com",
    "youtu.be",
    "facebook.com",
    "facebook.net",
    "fbcdn.net",
    "linkedin.com",
    "*licdn.com",
    "*admanager.google.com",
    "*google-health-ads.blogspot.com",
    "*firebase.google.com",
    "*google-webfonts-helper.herokuapp.com",
    "*tiktok.com"   ,
    "*doubleclick.net",
    "*google-analytics.com" ,
    "*ads.yahoo.com",
    "*advertising.amazon.com",
    "*advertising.theguardian.com",
    "*advertise.newrepublic.com",
}