Skip to content

[SOLVED] Raw JSON (not JSON Feed) Parsing #448

Answered by martinrotter
ImportTaste asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @ImportTaste.

  1. This defines how the data for the feed are obtained.
  2. This defines how the obtained data are transformed.

You can completely avoid 2 and have the script download data and parse it in the same time.

For example from the example scrapers, you can test with one which uses NVidia JSON API to get information about latest driver releases.

  1. It downloads very raw specific JSON data from the API.
  2. RSS Guard then automatically feeds the data via stdin to the "post-process" script.

This particular script is written in Python and it reads API JSON data with line json_data = json.loads(sys.stdin.read()) and then processes it and outputs transformed JSON FEED data which can subse…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@martinrotter
Comment options

Answer selected by ImportTaste
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Type-Enhancement This is request for brand new feature.
2 participants
Converted from issue

This discussion was converted from issue #446 on June 29, 2021 05:23.