Skip to content

Error in program #3

@neofit77

Description

@neofit77

Hello, I tested your program for some city on multiple pages and found that the first page hotels were repeated in a random sequence throughout the entire csv file, ie the program does not see pages 2, 3, etc. This error occurred because in the while loop you pass with a request the same address.
The problem is because SPA is used there, and when you press the button on the next page, the URL remains the same, and the content changes dynamically.
I don't think this problem can be solved by a library request but only by selenium.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions