1from onlyfans_scraper.constants import lists_EP2import pandas3import requests4from onlyfans_scraper.utils import auth5import asyncio6hasMore_name = ""7list_name = ""8offset = 09hasMore = True10all_lists = []11async def get_list(**kwargs):12with requests.session() as s:13while hasMore:14url = lists_EP.format(offset)15headers = auth.make_headers(auth.read_auth())16headers = auth.create_sign(url,headers)17s.headers.update(headers)18with s.get(url) as r:19jdata = r.json()20print(jdata)21# for item in jdata:22# if type(r.json()[item]) == bool:23# hasMore_name = item24# hasMore = r.json()[item]25# elif type(r.json()[item]) == list:26# list_name = item27# else:28# print("New items detected. Item {} of type {}".format(item, type(r.json()[item])))29# if list_name in r.json():30# print(r.json()[list_name])31# offset += 103233