Comments (13)
i think it might have thumbnail, when you first opened the watch page before the video starts loading, i think it's showing thumbnail first, i will check later.
from scrape-yt.
Added on @1.2.4!
from scrape-yt.
I don't think this is possible, since there's no thumbnail when you opening the watch page, i will double check again.
from scrape-yt.
ah that makes sense.
I appreciate the speedy response!!!
from scrape-yt.
i think i can work around it by
scrapeYt.search("4itm0SRxAro", {type: "video"}).then(videos => {
console.log(videos[0]);
});
still testing but i looks like the search is pulling up the video by the id ill touch base again in a few minutes
from scrape-yt.
From my experience, searching with videoID isn't 100% accurate, sometimes it gives different result
from scrape-yt.
looks like if i put the id in the form of the watch url i can get it with search!!!!
just putting the id doesnt return videos that have less than a certain amount of views from what it looks like
'https://www.youtube.com/watch?v=njTMhgn96H0' brings up the video while 'njTMhgn96H0'
brings up some random videos
from scrape-yt.
gotta keep finding videos with less that 1k views to see what the limit is
from scrape-yt.
hmmmm might not be 100% based on view count.... i think that is a big factor but it could also relate to the tags/category of the video
but using the link over the id has been working
from scrape-yt.
its not an issue XD especially on your end... if the watch page doesnt have the thumbnail then it doesnt have it so eh.
ill keep posting my findings with the search here
from scrape-yt.
sounds good ty
from scrape-yt.
Turns out i was wrong, indeed there is a thumbnail. Not gonna publish any update to NPM right now, going to see if i can get more useful information from getVideo
and other functions, if you have any suggestion for additional information to add, please send them here!
from scrape-yt.
will do! thank you so much!
from scrape-yt.
Related Issues (20)
- Thumbnail on search() sometimes return object HOT 2
- duration returns null on videos over 1 hour long HOT 9
- Enhancement : Duration on the Video object from a video search HOT 2
- simpleText undefined when trying to get viewCount HOT 1
- [BUG] error 302 HOT 7
- [ENHANCEMENT] Performance impact when getting playlist with high videos count HOT 21
- Search without passing type as a query param HOT 3
- Search breaks on keywords with "typo" [BUG] HOT 8
- [BUG] scrapeYt.getVideo(videoID); throws an error when trying to get a video with no description HOT 1
- [BUG] Failed to compile Can't resolve 'worker_threads' HOT 4
- getPlaylist(): TypeError: Cannot read property 'shortBylineText' of undefined HOT 2
- playlistSidebarSecondaryInfoRenderer undefined when to getting playlist HOT 3
- [ENHANCEMENT] add video prop - "isPrivate" HOT 2
- [BUG] getPlaylist not working on repl.it HOT 6
- [BUG] getVideo & getPlaylist HOT 8
- [BUG] Unexpected token } in JSON at position 10688 HOT 2
- [BUG] HOT 7
- [ANNOUNCEMENT] No more new features, only bug fixes. HOT 1
- BUG HOT 4
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 scrape-yt.