Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
yt-subscription-count-scraper
Advanced tools
Requests the HTML page of channel and extracts the subscriber count of the channel.
This NodeJS library scrapes the channel page of a YouTube channel without any API usage. It is developed for and tailored towards easy usage in the FreeTube rewrite but can be used with any other project as well.
Therefore, this library does not require any API keys, with the attached maximum quotas, but instead might take longer to receive the required data.
The library works as long as YouTube keeps its web page layout the same. Therefore, there is no guarantee that this library will work at all times. If this library should not work at some point, please create an issue and let me know so that I can take a look into it. Pull requests are also welcomed in this case.
npm install yt-subscription-count-scraper
const ytsubcounter = require("yt-subscription-count-scraper")
scrape_subscriber_count_from_channel('channelURL')
Takes a complete channel URL and returns the subscriber count as number.
ytsubcounter.scrape_subscriber_count_from_channel("https://www.youtube.com/user/YouTube").then((data) =>{
console.log(data);
}).catch((error)=>{
console.log(error);
});
FAQs
Requests the HTML page of channel and extracts the subscriber count of the channel.
We found that yt-subscription-count-scraper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.