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

Scraping competitions from additional pages #78

Open
ScottishWolverine opened this issue Nov 9, 2023 · 3 comments
Open

Scraping competitions from additional pages #78

ScottishWolverine opened this issue Nov 9, 2023 · 3 comments
Labels
question Further information is requested

Comments

@ScottishWolverine
Copy link

Currently the competitions scraper only chooses countries from the first page of a confederation (25 of them) and then scrapes the competitions from those countries. I've tried to extend the functionality to move through the different competitions pages so these can be scraped but unfortunately, I am not familiar enough with the framework to do it myself. Would you be able to provide some assistance for how I might achieve this?

@dcaribou
Copy link
Owner

dcaribou commented Nov 9, 2023

Hi @ScottishWolverine,

Can you explain what you have tried and the problem you've found?

@ScottishWolverine
Copy link
Author

Hi @dcaribou , thanks for the quick reply. I had initially thought about code to adapt the URL and access the additional pages but the URL does not appear to change when skipping cycling. I think some form of coding that can click the "next" button is needed but that's beyond my Python capabilities with the scrapy framework. Would you have any advice for how to implement this?

@dcaribou
Copy link
Owner

dcaribou commented Nov 9, 2023

I think what you want is to "follow" the link. I'd suggest that you checkout the docs for following links in scrapy website.

@dcaribou dcaribou added the question Further information is requested label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants