You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
utils.logger.info(f"[BilibiliCrawler.get_video_info_task] Sleeping for {config.CRAWLER_MAX_SLEEP_SEC} seconds after fetching video details {bvidoraid}")
400
+
384
401
returnresult
385
402
exceptDataFetchErrorasex:
386
403
utils.logger.error(f"[BilibiliCrawler.get_video_info_task] Get video detail error: {ex}")
utils.logger.info(f"[KuaishouCrawler.get_video_info_task] Sleeping for {config.CRAWLER_MAX_SLEEP_SEC} seconds after fetching video details {video_id}")
193
+
184
194
utils.logger.info(
185
195
f"[KuaishouCrawler.get_video_info_task] Get video_id:{video_id} info result: {result} ..."
utils.logger.info(f"[TieBaCrawler.get_specified_tieba_notes] Sleeping for {config.CRAWLER_MAX_SLEEP_SEC} seconds after processing notes from page {page_number}")
utils.logger.info(f"[TieBaCrawler.get_note_detail_async_task] Sleeping for {config.CRAWLER_MAX_SLEEP_SEC} seconds after fetching note details {note_id}")
239
+
225
240
ifnotnote_detail:
226
241
utils.logger.error(
227
242
f"[BaiduTieBaCrawler.get_note_detail] Get note detail error, note_id: {note_id}"
f"[BaiduTieBaCrawler.get_comments] Begin get note id comments {note_detail.note_id}"
279
294
)
295
+
296
+
# Sleep before fetching comments
297
+
awaitasyncio.sleep(config.CRAWLER_MAX_SLEEP_SEC)
298
+
utils.logger.info(f"[TieBaCrawler.get_comments_async_task] Sleeping for {config.CRAWLER_MAX_SLEEP_SEC} seconds before fetching comments for note {note_detail.note_id}")
0 commit comments