rss - SourceForge file releases -
I want to automate updating from SourceForge, it was working for a while
http://sourceforge.net/projects/msys2/rss?path=/Base/x86_64 However, I realized that RSS feeds contain up to 100 items, so if chosen path was last updated earlier, then it will not be on the RSS, and 500 internal server error
Do I have any other "API" sourcing G file will be entered into the list? I would not want to deny the page like an animal.
This is a workaround, but PowerShell can easily parse HTML < Pre class = "lang-sh prettyprint-override"> $ base = invoke-webRequest 'http://sourceforge.net/projects/msys2/files/Base/x86_64' For example, get the latest file
$ base.links | ? Class-eq name | tar select $ Base.links | | ? Href-match tar | -fir 1 -exp href
Comments
Post a Comment