From 131f3b4dd173e6478165a9eb5a07686d482849ca Mon Sep 17 00:00:00 2001 From: datawhores Date: Wed, 18 Sep 2024 06:27:25 -0500 Subject: [PATCH] remove more forced after --- ofscraper/data/api/archive.py | 2 +- ofscraper/data/api/messages.py | 2 +- ofscraper/data/api/streams.py | 2 +- ofscraper/data/api/timeline.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ofscraper/data/api/archive.py b/ofscraper/data/api/archive.py index 80568143..132c0c8b 100644 --- a/ofscraper/data/api/archive.py +++ b/ofscraper/data/api/archive.py @@ -47,7 +47,7 @@ @run async def get_archived_posts(model_id, username, c=None): - after = await get_after(model_id, username, forced_after) + after = await get_after(model_id, username) if len(read_args.retriveArgs().post_id or []) == 0 or len( read_args.retriveArgs().post_id or [] ) > constants.getattr("MAX_ARCHIVED_INDIVIDUAL_SEARCH"): diff --git a/ofscraper/data/api/messages.py b/ofscraper/data/api/messages.py index f9a13f32..4ef60bdd 100644 --- a/ofscraper/data/api/messages.py +++ b/ofscraper/data/api/messages.py @@ -46,7 +46,7 @@ @run async def get_messages(model_id, username, c=None): global after - after = await get_after(model_id, username, forced_after) + after = await get_after(model_id, username) if len(read_args.retriveArgs().post_id or []) == 0 or len( read_args.retriveArgs().post_id or [] ) > constants.getattr("MAX_MESSAGES_INDIVIDUAL_SEARCH"): diff --git a/ofscraper/data/api/streams.py b/ofscraper/data/api/streams.py index c1f18111..dd396768 100644 --- a/ofscraper/data/api/streams.py +++ b/ofscraper/data/api/streams.py @@ -48,7 +48,7 @@ @run async def get_streams_posts(model_id, username, c=None): - after = await get_after(model_id, username, forced_after) + after = await get_after(model_id, username) time_log(username, after) if len(read_args.retriveArgs().post_id or []) == 0 or len( read_args.retriveArgs().post_id or [] diff --git a/ofscraper/data/api/timeline.py b/ofscraper/data/api/timeline.py index 0e9bf0ed..c47c27f1 100644 --- a/ofscraper/data/api/timeline.py +++ b/ofscraper/data/api/timeline.py @@ -44,7 +44,7 @@ @run async def get_timeline_posts(model_id, username, c=None): - after = await get_after(model_id, username, forced_after) + after = await get_after(model_id, username) time_log(username, after) if len(read_args.retriveArgs().post_id or []) == 0 or len( read_args.retriveArgs().post_id or []