I describe myself as a student who loves coding, open source softwares.
jnsougata / aiotube Goto Github PK
View Code? Open in Web Editor NEWAn Alternative to YouTube Public Data API v3
Home Page: https://aiotube.deta.dev
License: MIT License
An Alternative to YouTube Public Data API v3
Home Page: https://aiotube.deta.dev
License: MIT License
I have a Playlist()
But I want to get the URL out of each video...
Is there a way to do so?
None is returned if I try to get info about dislikes of certain video.
Please fix it.
To reproduce:
>>> video_ids = Channel("example_id").uploads().ids
>>> print(len(video_ids))
Expected output: The amount of videos the channel has.
Returning output: 30
at max regardless of video amount.
I see that the cause of this behavior is that only the first 30 videos are visible by default until you scroll further down, so the rest can not be obtained with requests module using the following query:
raw = _src(f'{self._url}/videos?view=0&sort=dd&flow=grid')
How are you planning to approach to this problem? I believe it can be done using a headless selenium driver, but it'll add more dependency to your project.
I think this behavior should at least be mentioned in the docs as a side note (sorry if it already is, but I couldn't see such an information).
I am using this.
from DYA import Playlist, Video
playlist = Playlist("https://www.youtube.com/playlist?list=PLZ9QOgK214HDaY8NfkjvTX1E-8DSOA8m9")
videos = playlist.videos()
for i in range(len(videos)):
print(videos[i].title)
And it giving me random videos back. Please run the code and see for yourself.
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.