Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eksisozlukjs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eksisozlukjs - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

8

index.js
var https = require('https');
const cheerio = require('cheerio');
module.exports.getEntry = getEntry();
module.exports.getEntry = getEntry;
function getEntry(subject, callback) {
var subject = subject.toLocaleLowerCase();
subject = subject.toLocaleLowerCase();
https.get('https://eksisozluk.com/' + encodeURI(subject), (res) => {

@@ -29,3 +29,3 @@ var entries = [];

t(".content").each(function(i, elem){
texts[i] = t(this).text();
texts[i] = t(this).text().replace(/(^[ \t]*\n)/gm, "").trim();
})

@@ -46,3 +46,3 @@ for(i = 0; i < authors.length; i++){

f(".content").each(function(i, elem){
texts[i] = f(this).text();
texts[i] = f(this).text().replace(/(^[ \t]*\n)/gm, "").trim();
})

@@ -49,0 +49,0 @@ f(".entry-author").each(function(i, elem){

{
"name": "eksisozlukjs",
"version": "1.0.8",
"version": "1.0.9",
"description": "Eksi Sozluk Scraper",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc