martinnj / distro-dumper Goto Github PK
View Code? Open in Web Editor NEWOverengineered Python script and Docker container to automatically dump Linux/BSD torrents from the internet.
License: MIT License
Overengineered Python script and Docker container to automatically dump Linux/BSD torrents from the internet.
License: MIT License
Building, linting and typechecking are not implemented.
Replace the console exclusive printing with a proper logger implementation.
For now we're still just logging to console, but it makes it easier to also add file logging in the future.
Create a Jenkinsfile that supports testing in several Python version, linting and similar goodies.
Find absolute URLs in DOM:
https://www.raspberrypi.com/software/operating-systems/
Add a linting environment to tox.ini
.
Settings can be tweaked later.
Moving them from the module into the an inherited class should make it easier to type-check everything.
Talking about:
verify_config
generate_from_environment
create_worker
If they're defined as static method we can ignore actually constructing the class.
It feels dirty, but if it works.
From here: https://www.debian.org/CD/torrent-cd/
Looks like a URL format can be created from the architecture and media.
Instead of having a blob doing everything, create a way for distro (or just source) specific handling to be compartmentalised but handled with a consistent API.
For instance a module for Arch Linux and one for Debian, then the program can load them when they're configured and have them do all the specific work of getting the files from the websites.
Especially the module ones.
Ideally it would be a table with the following columns:
Add to tox, then run it in the Jenkinsfile.
This check only allows either mac or edu, not both. Documentation says it's a CSV containing either or both.
Manjaro changed their urls/page layout, module seems to be broken.
Search DOM for absolute torrent URLs:
https://manjaro.org/download/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.