overclokk / py-youtube-downloader Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Il problema si è presentato con questo video: https://www.youtube.com/watch?v=i9HoJLfde3M
Provando anche con altri video sempre stesso problema
Pytube da me è la versione 12.0.0
Ho trovato delle issue a riguardo ma sono vecchie e non risolvono il problema:
pytube/pytube#1105
E per il momento l'ho risolta con quesa soluzione:
https://stackoverflow.com/questions/71883661/pytube-error-get-throttling-function-name-could-not-find-match-for-multiple
Quindi sembra una regex, vediamo se fixano nelle versioni successive.
Accettare arguments da riga di comando, ad esempio:
python <script>.py --video <url> --cut sec:sec
Con l'utilizzo vengono in mente i miglioramenti:
Se inserito un url youtube mostra comandi dedicati
Se inserito path di un file mostra altri comandi dedicati
Così se si implementa anche una GUI si dovrebbe avere già un workflow definito.
Da valutare una interfaccia (con eseguibile) per chi non è pratico ma vole comunque usare lo script.
Per l'interfaccia mi sembra di aver capito che lo strumento sia tkinter.
Tagliare più clip dallo stesso video, magari specificando i minutaggi in un file di testo esterno.
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.