booking_scraper
                                
                                 booking_scraper copied to clipboard
                                
                                    booking_scraper copied to clipboard
                            
                            
                            
                        the saved json file is empty
i run the code but the file was empty
when running the code i get this error  File "C:\Users\pc\AppData\Local\Programs\Python\Python311\venv\test.py", line 5, in 
in process_data max_offset = int(get_max_offset(soup)) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\pc\AppData\Local\Programs\Python\Python311\venv\bkscraper.py", line 24, in get_max_offset all_offset = soup.find_all('li', {'class': 'sr_pagination_item'})[-1].get_text().splitlines()[-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^ IndexError: list index out of range
Same problem (empty json file) here, but no errors