skip to navigation
skip to content

Not Logged In

referredby 0.1.4

Parsing referrer URLS for common search engines.

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
 
File Type Py Version Uploaded on Size
referredby-0.1.4-py2.py3-none-any.whl (md5, pgp) Python Wheel 3.4 2014-11-12 8KB
referredby-0.1.4.tar.gz (md5, pgp) Source 2014-11-12 6KB
  • Downloads (All Versions):
  • 7 downloads in the last day
  • 34 downloads in the last week
  • 378 downloads in the last month