Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: add ability to search Yahoo Images/Bing too? #90

Closed
teracow opened this issue Dec 7, 2019 · 7 comments
Closed

RFC: add ability to search Yahoo Images/Bing too? #90

teracow opened this issue Dec 7, 2019 · 7 comments

Comments

@teracow
Copy link
Owner

teracow commented Dec 7, 2019

This would expand the number of results available. Duplicate image URLs returned by Google and Yahoo would be reduced to a single URL.

@teracow
Copy link
Owner Author

teracow commented Dec 7, 2019

Interesting: just noticed this at the bottom of Yahoo Images:

Powered by Bing™

Maybe we should add Bing instead?

@teracow
Copy link
Owner Author

teracow commented Dec 7, 2019

from Wikipedia

In January 2010, Microsoft announced a deal in which it would take over the functional operation of Yahoo! Search, and set up a joint venture to sell advertising on both Yahoo! Search and Bing known as the Microsoft Search Alliance.

In April 2015, the Microsoft partnership was modified, now only requiring Bing results on the "majority" of desktop traffic, opening the ability for Yahoo to enter into non-exclusive deals for search services on mobile platforms and the remainder of desktop traffic. The amendment also gives either company the ability to terminate the contract with four months' notice. In October 2015, Yahoo subsequently reached an agreement with Google to provide services to Yahoo Search through the end of 2018, including advertising, search, and image search services.[14][15][16]As of October 2019, Yahoo! Search is once again “powered by Bing”.

@teracow teracow changed the title RFC: add ability to search Yahoo Images too? RFC: add ability to search Yahoo Images/Bing too? Dec 7, 2019
@teracow
Copy link
Owner Author

teracow commented Dec 7, 2019

A quick-and-dirty (i.e. can easily be improved upon) link scraper for Bing image results:

cat "$pages_pathfile" \
| sed 's|murl":"http|\n&|g' \
| sed 's|turl|\n&|g' \
| grep murl \
| sed 's|^murl":"||' \
| sed '/&amp/d' \
| sed '/^var /d' \
| sed 's|&quot.*||' \
> "$image_links_pathfile"

@MBtech
Copy link
Collaborator

MBtech commented Dec 7, 2019

from Wikipedia

In January 2010, Microsoft announced a deal in which it would take over the functional operation of Yahoo! Search, and set up a joint venture to sell advertising on both Yahoo! Search and Bing known as the Microsoft Search Alliance.

In April 2015, the Microsoft partnership was modified, now only requiring Bing results on the "majority" of desktop traffic, opening the ability for Yahoo to enter into non-exclusive deals for search services on mobile platforms and the remainder of desktop traffic. The amendment also gives either company the ability to terminate the contract with four months' notice. In October 2015, Yahoo subsequently reached an agreement with Google to provide services to Yahoo Search through the end of 2018, including advertising, search, and image search services.[14][15][16]As of October 2019, Yahoo! Search is once again “powered by Bing”.

I was familiar with the fact that for a long while Yahoo Search had been powered by Bing (ever since Yahoo's decline) but didn't know they underwent a non-exclusive deal later one.

@MBtech
Copy link
Collaborator

MBtech commented Dec 7, 2019

Adding images through Bing search might be cool. It would be interesting to see how much results differ. I wonder if there is a way to quantify the quality of result from each of the search engine (though that's irrelevant in this case)

@teracow
Copy link
Owner Author

teracow commented Dec 7, 2019

I'm happy to start adding support for searching Bing, but it will probably happen slowly. I suspect there will be a fair bit of refactoring to deal with differences between Google Images and Bing, and some overlap too.

@teracow
Copy link
Owner Author

teracow commented Dec 14, 2019

Work on this has begun. :)

@teracow teracow closed this as completed Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants