Skip to main content

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.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.

Files for referredby, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size referredby-0.1.2.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page