Git Product home page Git Product logo

Comments (13)

SuspiciousLookingOwl avatar SuspiciousLookingOwl commented on July 19, 2024 1

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.

SuspiciousLookingOwl avatar SuspiciousLookingOwl commented on July 19, 2024 1

Added on @1.2.4!

from scrape-yt.

SuspiciousLookingOwl avatar SuspiciousLookingOwl commented on July 19, 2024

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.

SteeledSlagle13 avatar SteeledSlagle13 commented on July 19, 2024

ah that makes sense.
I appreciate the speedy response!!!

from scrape-yt.

SteeledSlagle13 avatar SteeledSlagle13 commented on July 19, 2024

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.

SuspiciousLookingOwl avatar SuspiciousLookingOwl commented on July 19, 2024

From my experience, searching with videoID isn't 100% accurate, sometimes it gives different result

from scrape-yt.

SteeledSlagle13 avatar SteeledSlagle13 commented on July 19, 2024

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.

SteeledSlagle13 avatar SteeledSlagle13 commented on July 19, 2024

gotta keep finding videos with less that 1k views to see what the limit is

from scrape-yt.

SteeledSlagle13 avatar SteeledSlagle13 commented on July 19, 2024

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.

SteeledSlagle13 avatar SteeledSlagle13 commented on July 19, 2024

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.

SteeledSlagle13 avatar SteeledSlagle13 commented on July 19, 2024

sounds good ty

from scrape-yt.

SuspiciousLookingOwl avatar SuspiciousLookingOwl commented on July 19, 2024

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.

SteeledSlagle13 avatar SteeledSlagle13 commented on July 19, 2024

will do! thank you so much!

from scrape-yt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.