1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-03 15:17:33 +02:00

docs: add note about expensive operation (#3579)

This commit is contained in:
Dag
2023-07-31 20:43:11 +02:00
committed by GitHub
parent f8fd05f08f
commit 8b6eecea25

View File

@@ -84,7 +84,10 @@ class VkBridge extends BridgeAbstract
foreach ($html->find('div.replies') as $comment_block) { foreach ($html->find('div.replies') as $comment_block) {
$comment_block->outertext = ''; $comment_block->outertext = '';
} }
$html->load($html->save());
// expensive operation
$save = $html->save();
$html->load($save);
$pinned_post_item = null; $pinned_post_item = null;
$last_post_id = 0; $last_post_id = 0;