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

How to change browser size in which javascript is rendered ? #501

Closed
AryaaSk opened this issue Mar 7, 2022 · 1 comment
Closed

How to change browser size in which javascript is rendered ? #501

AryaaSk opened this issue Mar 7, 2022 · 1 comment

Comments

@AryaaSk
Copy link

AryaaSk commented Mar 7, 2022

I am trying to scrape this website: https://rl.insider.gg/en/pc

The site will redirect you to the mobile site when your browser width is <1250px. However when sending a request with requests-html, the javascript is rendered in a window of 800px X 600px, this keeps causing the response to come from the mobile site, which I do not want.

Is it possible to change the dimensions of the browser in which the request is sent, and if so how ?

@AryaaSk AryaaSk closed this as completed Mar 8, 2022
@AryaaSk AryaaSk reopened this Mar 8, 2022
@AryaaSk AryaaSk closed this as completed Mar 8, 2022
@Socvest
Copy link

Socvest commented Feb 28, 2023

How did you get this to work?

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

2 participants