aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridges/PikabuBridge.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/bridges/PikabuBridge.php b/bridges/PikabuBridge.php
index 237f2a94..49f72345 100644
--- a/bridges/PikabuBridge.php
+++ b/bridges/PikabuBridge.php
@@ -132,6 +132,10 @@ class PikabuBridge extends BridgeAbstract
}
$title_element = $post->find('.story__title-link', 0);
+ if (str_contains($title_element->href, 'from=cpm')) {
+ // skip sponsored posts
+ continue;
+ }
$title = $title_element->plaintext;
$community_link = $post->find('.story__community-link', 0);