sample scraper

This commit is contained in:
Martin Rotter 2021-03-04 09:27:40 +01:00
parent c67e0e3157
commit be1c3952bb

View File

@ -1,6 +1,12 @@
# Sample file: https://api.github.com/repos/<user>/<repo>/releases
# Use this script as "post-process" script, let RSS Guard download
# the "releases" file itself.
#
# This script expects one command line argument:
# true -> ignore prereleases
# false -> include prereleases
#
# Sample input file whose contents must be provided as stdin: https://api.github.com/repos/<user>/<repo>/releases
#
# File is downloaded and we expect its contents via stdin.
# This script produces JSON feed.
import re