Closed clintiepoo closed 4 months ago
When attempting to access the webpage (https://substack.com/browse/staff-picks
) using curl, the content wasn't visible. It appears that the site relies on JavaScript, as it fetches data from https://substack.com/api/v1/reader/posts/staff-picks
.
Since RSS-Bridge doesn't handle JavaScript, this likely explains why the content isn't being parsed correctly and why the XPathBridge module fails to generate a feed.
When attempting to access the webpage (
https://substack.com/browse/staff-picks
) using curl, the content wasn't visible. It appears that the site relies on JavaScript, as it fetches data fromhttps://substack.com/api/v1/reader/posts/staff-picks
.Since RSS-Bridge doesn't handle JavaScript, this likely explains why the content isn't being parsed correctly and why the XPathBridge module fails to generate a feed.
Thanks - I understand it now and will close the issue.
Describe the bug XPathBridge is not parsing this site as expected. It could be user error.
To Reproduce (on my self hosted agent as well as on the public one: https://rss-bridge.org/bridge01/)
https://substack.com/browse/staff-picks
//div[contains(@class, 'reader2-post-container')]
.//div[contains(@class,'reader2-post-title')]
No feed is generated.
Expected behavior Feed should be created with this input. Other fields (url, description) can be added later.
Screenshots
![image](https://github.com/RSS-Bridge/rss-bridge/assets/33547246/f8038038-4a49-4287-a796-f58aa980037a)
Additional context These same expressions work in the browser console (Firefox).