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

Bing Results Per Page with 'en-us' search market #33

Open
Blobme opened this issue Jul 17, 2020 · 0 comments
Open

Bing Results Per Page with 'en-us' search market #33

Blobme opened this issue Jul 17, 2020 · 0 comments

Comments

@Blobme
Copy link

Blobme commented Jul 17, 2020

Hi!

Everything is working except this :

$bing->setPreference('results_per_page', 50);

It gives me only 10 results with 'en-us' but it works with 'en-ca' or 'fr-fr' and other where I have 50 results.

This line below is working as I'm in 'en-us' search market:
$bing->setPreference('search_market', 'en-us');

I think the problem comes from the request :
https://www.bing.com/account/?rpp=50&pref_sbmt=1&ru=/&GUID=xxxxxxxxxxxx&uid=xxxxxxx&sid=xxxxxxxxxxxxxx

maybe the GUID sent by Bing is not good and then it can't verify the cookie...

The cookie is created in C:\Windows\Temp
I'm in local with wamp and PHP 7.3.12

Do you have the same problem?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant