From 87d67e4e851c53c31455a880214264e9f435503f Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Fri, 10 Feb 2023 00:37:28 +0100 Subject: [PATCH] Correct the termination of `COMMUNITY` tab process due to missing page tokens --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 795c9c2..71207c8 100644 --- a/main.cpp +++ b/main.cpp @@ -398,7 +398,7 @@ void treatChannelOrVideo(unsigned short threadId, bool isChannel, string id, str { pageToken = data["nextPageToken"]; } - if(pageToken == "") + else { break; }