Closed SteveParson closed 5 years ago
Unfortunately, the product website uses some Javascript to create the links. You could use Selenium to get the latest links, but there is an easier way.
Use whatever you want to parse the JSON from the links below
Pass the results of your script to Ansible, so that it can download the IDEs.
Consider extracting to a static directory name like idea
instead of ideaIC-2019.1
, since we intend to add shortcuts to the desktop for both of these IDEs. In that case, the directory names won't change, so the shortcuts can be a static file.
@SteveParson I'm interested in this. Can i contribute?
One of the PRs (which I haven't finished reviewing) have changed this to use the snap package instead, which is a pretty good solution. I will most likely go with that, but if you have any other ideas I'd be happy to hear them.
I was thinking of going with apt (or something similar). Let me know If the PR does not work out for you or If I can help out some other way. Thanks!
Is your feature request related to a problem? Please describe. Currently, IntelliJ IDEA and Pycharm are being downloaded from fixed URLs.
Describe the solution you'd like I would like this link to be scraped for the correct download link to the latest version. Ditto for Pycharm. They could be extracted to static names in
/usr/local/bin
, such as:/usr/local/bin/pycharm
/usr/local/bin/intellij
Describe alternatives you've considered This is just nice-to-have, but would be easy to implement.