Page MenuHomePhabricator

Disable/Remove pYsearch
Closed, ResolvedPublic

Description

pYsearch is used by Pywikibot for Yahoo! searches, and it was supported by Yahoo!.

However it contains a baked in hostname of http://search.yahooapis.com/ , which is the old service that was shut down in 2011.

In addition, it is an unmaintained package on pypi which requires fetching the tarball from sourceforge.net, which can cause build breakages whenever sourceforge.net has problems, such as T106062: Travis builds failing due to 403 downloading pYsearch from sourceforge.net.

Yahoo now offers Boss Search API, hosted at https://yboss.yahooapis.com/ , and there appear to be a few packages which provide that.

https://pypi.python.org/pypi/justsearch
https://pypi.python.org/pypi/yboss
https://pypi.python.org/pypi/YahooBoss-Python

However, using Boss Search incurs fees, so it is probably unsuitable for bot usage. Their pricing page goes to a Terms of Use page which doesnt appear to include pricing details. Boss Overview includes a link for Pricing, however that doesnt load anything at all.

Event Timeline

jayvdb claimed this task.
jayvdb raised the priority of this task from to High.
jayvdb updated the task description. (Show Details)
jayvdb added a project: Pywikibot.
jayvdb subscribed.
jayvdb set Security to None.

Change 225219 had a related patch set uploaded (by John Vandenberg):
Remove dependency on pYsearch

https://gerrit.wikimedia.org/r/225219

Change 225219 merged by jenkins-bot:
Remove dependency on pYsearch

https://gerrit.wikimedia.org/r/225219

jayvdb lowered the priority of this task from High to Medium.Jul 17 2015, 11:01 AM
jayvdb removed a project: Patch-For-Review.

Change 258728 had a related patch set uploaded (by John Vandenberg):
Remove dependency on pYsearch

https://gerrit.wikimedia.org/r/258728

Change 258728 merged by jenkins-bot:
Remove dependency on pYsearch

https://gerrit.wikimedia.org/r/258728

Yahoo BOSS is also being discontinued, on March 31, 2016
https://developer.yahoo.com/boss/
Apparently the replacement is Yahoo Partner Ads (YPA)
https://developer.yahoo.com/ypa/

Sounds like an even less attractive option.

Change 474727 had a related patch set uploaded (by Nils ANDRE; owner: Nils ANDRE):
[pywikibot/core@master] [cleanup] Remove unused code in 4 files

https://gerrit.wikimedia.org/r/474727

Change 474727 merged by jenkins-bot:
[pywikibot/core@master] [cleanup] Remove unused code in 4 files

https://gerrit.wikimedia.org/r/474727