Comments (3)
Dosen't work on Ubuntu Mate 20.04
from gydl.
For me this happened because it looks like python was expecting an integer or different length value for quality(it was passing on the first number of the height, 7 for 720, 1 for 1080, 3 for 360). I'm not super versed so in python so I'm not exactly sure why but I solved this by changing
def get_quality(self):
return self.quality.get_active_text()[0]
to
def get_quality(self):
return self.quality.get_active_text()
in gydl.py and after this change I was able to download videos.
from gydl.
I don't know if the maintainer will take pull requests as it looks like it may not be active. I have forked it and made some changes. Even properly parsing the resolution settings doesn't completely fix video downloads. It appears the filtering method used in youtube-dl doesn't properly detect if the format/resolution choices are available and it's luck of the draw whether it is detected or not. Instead I implemented a file availability query, grep for the requested settings and pass them with the id instead of the filters. It seems to work pretty well this way but fails for playlists and when the options aren't available. Due to this I set the options to "best" for playlists and when the selected options aren't available. I'm open to further changes and will be monitoring the fork.
from gydl.
Related Issues (20)
- Gydl fails to detect network in Flatpak sandbox HOT 34
- can't download videos HOT 4
- AUR package is missing deps and/or not working HOT 2
- Gydl vanishes until the download gets finished and then pops up with the result HOT 3
- Feature request downloading progress bar HOT 2
- Missing documentation about audio quality HOT 4
- Download Unsuccessfull HOT 1
- Download looks successful but file is no where insight HOT 2
- ffmpeg audio convert error HOT 1
- Opus audio codec
- Do not hardcode /usr prefix
- Icon location
- Only formats that are available should be selectable HOT 1
- URL should persist when switching from Audio to Video tab
- Use proper window close button
- [Feature request] add batch download list
- Updating GYDL's FlatPak runtime HOT 3
- Download URL HOT 1
- Can't seem to get anything to download. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gydl.