Parsing referrer URLS for common search engines.
Project description
referredby
A Python module for parsing referrer URLs, in particular for common search engines.
It’s main entry point is the referredby.who method:
>>> import referredby >>> referredby.who('http://id.search.yahoo.com/search?fr=mkg030&p=friendly%20cat') SearchEngine(name='Yahoo! Indonesia', domain='id.search.yahoo.com', keywords=['friendly', 'cat'])
The list of search engines that it matches is borrowed from Spiros Denaxas’s URI::ParseSearchString project.
Release notes
0.1.4
Add a bunch of new Google country domains
Support Python 3
0.1.3
Add googleadservices.com domain
0.1.2
Improve matching of Yahoo mail
Add mail engine matching to the who() method
0.1.1
Add more flexible matching of Yahoo search domains
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
referredby-0.1.4.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file referredby-0.1.4.tar.gz
.
File metadata
- Download URL: referredby-0.1.4.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c46dc92da4c5d8b5f24bff0f0ca9da469391dcb5841afe44c50e9ca7d19b4297 |
|
MD5 | b883f49f65e5adbeeede5935b8a88b1a |
|
BLAKE2b-256 | fbddfc5bcc73cd98d5bea5d21f4e8caa7480e8ae07fc3c7c5f1eb68b3e5bbadc |
File details
Details for the file referredby-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: referredby-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d0d4f916df7ce2acab1d13932f5fccb65b04d946598998bbc0bc30fb9cfd51d |
|
MD5 | e8816a427a8d78303c7ebf5300c02fcf |
|
BLAKE2b-256 | 6e19308fcd52eff5b7855cb4409fabae1a8c4fded16d42832c637f3c7cc40f92 |