Skip to content

Commit

Permalink
[ArsTechnicaBridge] Fix uid
Browse files Browse the repository at this point in the history
  • Loading branch information
SqrtMinusOne committed Oct 5, 2024
1 parent 0825f8a commit 63bde3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bridges/ArsTechnicaBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ protected function parseItem(array $item)
$parsely = $item_html->find('[name="parsely-page"]', 0);
$parsely_json = json_decode(html_entity_decode($parsely->content), true);
$item['categories'] = $parsely_json['tags'];
$item['uid'] = $parsely_json['post_id'];

// Some lightboxes are nested in figures. I'd guess that's a
// bug in the website
Expand Down

0 comments on commit 63bde3c

Please sign in to comment.