Skip to content

Commit

Permalink
[NineGagBridge] In post URI replace scheme from "http" to "https"
Browse files Browse the repository at this point in the history
  • Loading branch information
gsantner authored Oct 15, 2020
1 parent 45e2f38 commit a332a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/NineGagBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function collectData() {
}

if (!$AvoidElement) {
$item['uri'] = $post['url'];
$item['uri'] = preg_replace("/^http:/i", "https:", $post['url']);
$item['title'] = $post['title'];
$item['content'] = self::getContent($post);
$item['categories'] = self::getCategories($post);
Expand Down

0 comments on commit a332a5a

Please sign in to comment.