Skip to content

Commit f1b3bcc

Browse files
committed
Update to latest referers.json.
1 parent a46be4a commit f1b3bcc

File tree

2 files changed

+3
-4024
lines changed

2 files changed

+3
-4024
lines changed

python/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The `r` variable now holds a Referer instance. The important attributes are:
2929
print(r.known) # True
3030
print(r.referer) # 'Google'
3131
print(r.medium) # 'search'
32-
print(r.search_parameter) # 'q'
32+
print(r.search_parameter) # 'q'
3333
print(r.search_term) # 'gateway oracle cards denise linn'
3434
print(r.uri) # ParseResult(scheme='http', netloc='www.google.com', path='/search', params='', query='q=gateway+oracle+cards+denise+linn&hl=en&client=safari', fragment='')
3535
```
@@ -68,7 +68,7 @@ Unlike the other ports, the Python version of referer-parser uses a `referers.js
6868
To support the `referers.json` file, the distribution process for Python looks like this:
6969

7070
$ ./sync_yaml.sh
71-
$ python/build_json.py
71+
$ cd python/referer_parser && python build_json.py
7272
$ python setup.py sdist bdist_wininst upload
7373

7474
## Contributing

0 commit comments

Comments
 (0)