We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcf4eec commit c4d34bbCopy full SHA for c4d34bb
1 file changed
top/get_data.py
@@ -70,8 +70,11 @@ def is_article(title, wiki_info):
70
Is it an article, or some other sort of page? We'll want to filter out the
71
search page (Special:Search in English, etc) and similar pages appearing
72
inconveniently in the traffic report.
73
+
74
+ Skip xhamster. There are a few clues this Wikipedia traffic is artificial.
75
+ See https://en.wikipedia.org/w/index.php?title=XHamster&diff=701682670&oldid=700826198
76
'''
- skip = ['-', '404.php'] + [wiki_info['mainpage']]
77
+ skip = ['-', '404.php', 'XHamster'] + [wiki_info['mainpage']]
78
prefixes = PREFIXES + wiki_info['namespaces']
79
if title in skip:
80
return False
0 commit comments