URL: http://developer.yahoo.net/search/siteexplorer/V1/inlinkData.html

Had a quick play with Yahoo!'s Inbound Links API today. You use their web services API to check which other URLs a URL is linked to from. This can come in handy if you want to know which other sites make a link to your article. Googleblog is using this (obviously not by using the Yahoo! API); look at this blog post for example and scroll to the end of the text.

The inspiration came from Fredrik Lundh's term extraction example that I'm actually now use in a production site. So I basically took Fredriks code and modified it for Inbound Links.

Here's an example of how you can use it:


>>> from YahooInlinkData import inlinkData, printu
>>> for d in inlinkData(Get_Your_Own_Yahoo_App_ID,
"https://www.peterbe.com/", results=5):
...     printu(d['title'])  
...     print d['url']

I don't think my example is going to impress the masses but hopefully it might inspire people to write their own little applications and continue to enjoy Fredriks lovely ElementTree.

Feel free now to download: YahooInlinkData.py

Your email will never ever be published.

Previous:
The Search Engine Experiment November 25, 2005 Misc. links
Next:
CSS code of del.icio.us November 29, 2005 Web development
Related by category:
Claude Opus is 10x faster than OpenAI GPT 5 at non-streaming completions July 24, 2026 Python
Best Django Redis configuration for speed and size July 19, 2026 Python
How to use a list/tuple/array in Django with a raw SQL cursor July 14, 2026 Python
Using AI to rewrite blog post comments November 12, 2025 Python
Related by keyword:
OpenID, Attribute Exchange, SReg, python-openid and Google April 23, 2010 Python, Web development
The importance of being findable April 15, 2004 This site
More optimization of Peterbe.com - CSS sprites August 5, 2009 Web development