fix: [moz500] Fix the confusion about Moz.com and Mozilla.com

pull/107/head
Steve Clement 2019-04-24 14:42:41 +09:00
parent 4a0e9d2901
commit 14a675a70a
3 changed files with 3 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# The Moz Top 500
Moz's list of the top 500 domains and pages on the web.
Mozs' (NOT to be confused with Mozilla) list of the top 500 domains and pages on the web.
Contains a list of the top 500 web pages ranked by the number of linking root domains. This data is sourced from the Mozcape web index of 818 Billion domains and 6 Trillion pages.
## Update list
```bash
../../tools/generate_mozilla-top500.py |jq . > list.json
../../tools/generate_moz-top500.py |jq . > list.json
```

View File

@ -7,7 +7,6 @@ import json
import csv
import os
# TODO: Include Top500 pages
# TODO: Include MozRank
moz_url_domains = "https://moz.com/top500/domains/csv"
@ -29,7 +28,7 @@ version = int(datetime.date.today().strftime('%Y%m%d'))
moz_warninglist['description'] = "Event contains one or more entries from the top 500 of the most used domains (Mozilla)."
d = datetime.datetime.now()
moz_warninglist['version'] = version
moz_warninglist['name'] = "Top 500 domains and pages from Mozilla"
moz_warninglist['name'] = "Top 500 domains and pages from https://moz.com/top500"
moz_warninglist['type'] = 'hostname'
moz_warninglist['list'] = []
moz_warninglist['matching_attributes'] = ['hostname', 'domain', 'uri', 'url']