youtube-crawler
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -21,5 +21,7 @@ var http = require('https'); | ||
for (i = 0; i < videos.length; i++) { | ||
var link = $(videos[i]).find('.yt-uix-sessionlink').attr('href'); | ||
if (!link.startsWith('/watch')) continue; | ||
found.push({ | ||
title: $(videos[i]).find('.yt-lockup-title a').text(), | ||
link: 'https://youtube.com' + $(videos[i]).find('.yt-uix-sessionlink').attr('href') | ||
link: 'https://youtube.com' + link | ||
}); | ||
@@ -26,0 +28,0 @@ } |
{ | ||
"name": "youtube-crawler", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Another youtube crawler, no API key needed", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3089
33