Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functionallity to download resource's latest version #7

Open
MrIvanPlays opened this issue Apr 5, 2020 · 16 comments
Open

Functionallity to download resource's latest version #7

MrIvanPlays opened this issue Apr 5, 2020 · 16 comments

Comments

@MrIvanPlays
Copy link

Title

@jacobsandersen
Copy link
Collaborator

I believe this is out of scope, but I'm not opposed to making it. @md-5 ?

@MrIvanPlays
Copy link
Author

I forgot to note, should apply only to free resources.

@jacobsandersen
Copy link
Collaborator

3 others have expressed interest in this...I guess it's a popular idea. But still waiting for md's comments.

@mikroskeem
Copy link

That'd be a great feature, allows for better automation. Currently one cannot download plugins from SpigotMC site directly with e.g curl because of Cloudflare.

@MrIvanPlays
Copy link
Author

That'd be a great feature, allows for better automation. Currently one cannot download plugins from SpigotMC site directly with e.g curl because of Cloudflare.

plus the fact the url is different for different versions, either if you somehow bypass cloudflare, you have to do html scraping.

@OpticFusion1
Copy link

OpticFusion1 commented Apr 13, 2020

Why not expand this to every version of the resource?
My projects would be able to be improved greatly if i could automatically download every version of a resource easily (I'm sure others would also find use for being able to download a very specific version of a specific resource as well with this)

@Phoenix616
Copy link

Ideally a download via such an API would not count towards the download count to protect against abuse.

@jacobsandersen
Copy link
Collaborator

@md-5 yay/nay?

@jacobsandersen
Copy link
Collaborator

Personally I don't think it would be hard. Free resources only...Might need CF whitelist for the api?

Would not tick any stats, only provide file and intended for programmatic access only. Could ratelimit?

@Cherry
Copy link

Cherry commented Aug 9, 2020

We (Nodecraft) would also be really interested in this. If there is anything we can do to push this along, please let us know.

@jacobsandersen
Copy link
Collaborator

Pinging @md-5

@PeachesMLG
Copy link

Waiting for md to reply is like waiting for my dad to return after buying cigarettes :c

@jacobsandersen
Copy link
Collaborator

Complaining about it won't make him reply any faster. This is a complex thing to consider regarding stats and etc. Give it some time.

@aurorasmiles
Copy link

would also love this

@PeachesMLG
Copy link

Doesnt look good :C https://imgur.com/pW230EZ.png

@robog-two
Copy link

I think this would be a good idea, but the issue is that it creates a good point to ddos. You would have to instead let the API return a download link or the like from something on a cdn or behind cloudflare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants