packagescrapers
Advanced tools
Comparing version 2.0.11 to 2.0.12
14
index.js
@@ -24,2 +24,4 @@ const axios = require('axios') | ||
const update = [] | ||
const tags = [] | ||
const tagurl = [] | ||
@@ -42,2 +44,10 @@ $("._0d2164ff > div > a > h3").each((i, el) => { | ||
$("._0d2164ff > ul > li > a").each((i, el) => { | ||
tags[i] = $(el).text().trim(); | ||
}) | ||
$("._0d2164ff > ul > li > a").each((i, el) => { | ||
tagurl[i] = $(el).attr("href"); | ||
}) | ||
const result = []; | ||
@@ -49,3 +59,5 @@ for (let i = 0; i < url.length; i++) { | ||
desc: desc[i], | ||
updated: update[i] | ||
updated: update[i], | ||
tags: tags[i], | ||
tagurl: 'https://npmjs.com'+tagurl[i] | ||
}; | ||
@@ -52,0 +64,0 @@ } |
{ | ||
"name": "packagescrapers", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"description": "Npm Package To Search Package At NPMJS PyPi And Github!", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/nekozu/packagesrapers", |
const pack = require('./index.js') | ||
pack.github('telegram').then(res => console.log(res)) | ||
//pack.github('telegram').then(res => console.log(res)) | ||
pack.npm('telegram').then(res => console.log(res)) | ||
//pack.npm('telegram').then(res => console.log(res)) | ||
//pack.pypi('telegram').then(res => console.log(res)) |
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
11451
125