Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
referredby-0.1.4-py2.py3-none-any.whl (8.3 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Nov 12, 2014
referredby-0.1.4.tar.gz (6.4 kB) Copy SHA256 Checksum SHA256 Source Nov 12, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting