RSS-Bridge / rss-bridge

The RSS feed for websites missing it
https://rss-bridge.org/bridge01/
The Unlicense
6.99k stars 1.02k forks source link

[YouTubeCommunityTabBridge] Improve JSON extraction #4140

Closed mightymt closed 6 days ago

mightymt commented 6 days ago

I recently noticed that the YouTubeCommunityTabBridge sometimes can't extract the JSON from the HTML page.

This small change should make that work more reliably.

github-actions[bot] commented 6 days ago

Pull request artifacts

Bridge Context Status
YouTubeCommunityTab 1 By channel ID (current) ⚠️ WARNING Undefined property: stdClass::$c4TabbedHeaderRenderer at bridges/YouTubeCommunityTabBridge.php line 75
⚠️ WARNING Attempt to read property "title" on null at bridges/YouTubeCommunityTabBridge.php line 75
YouTubeCommunityTab 1 By channel ID (pr) ⚠️ WARNING Undefined property: stdClass::$c4TabbedHeaderRenderer at bridges/YouTubeCommunityTabBridge.php line 75
⚠️ WARNING Attempt to read property "title" on null at bridges/YouTubeCommunityTabBridge.php line 75
YouTubeCommunityTab 2 By username (current) Bridge returned error 500! (19898)
Type: Exception
Message: Failed to extract data from page
YouTubeCommunityTab 2 By username (pr) ✔️

last change: Monday 2024-06-24 16:13:54