lilydjwg / nvchecker

New version checker for software releases
MIT License
438 stars 70 forks source link

Support HTTP POST request in the htmlparser and regex source #201

Closed yuyichao closed 3 years ago

yuyichao commented 3 years ago

Example:

source = "regex"
regex = "spcm_linux_libs_v[0-9a-zA-Z]*"
url = "https://spectrum-instrumentation.com/spcm_downloads_downloads_ajax"
post_data = "series%5B%5D=273&families%5B%5D=475"
yuyichao commented 3 years ago

Tests added and document updated.

I did not add a test for the htmlparser source since I couldn't figure out how to let httpbin reply a html to a post request...