
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
feedparser-promised
Advanced tools
Wrapper around feedparser with promises.
$ npm install --save feedparser-promised
const feedparser = require('feedparser-promised');
const url = 'http://feeds.feedwrench.com/JavaScriptJabber.rss';
feedparser.parse(url).then(items =>
items.forEach(item => console.log('title:', item.title));
).catch(console.error);
const feedparser = require('feedparser-promised');
const httpOptions = {
uri: 'http://feeds.feedwrench.com/JavaScriptJabber.rss',
timeout: 3000,
gzip: true,
// ...
};
feedparser.parse(httpOptions).then(items => { /* do your magic here */ });
const feedparser = require('feedparser-promised');
const httpOptions = {
uri: 'http://feeds.feedwrench.com/JavaScriptJabber.rss',
// ...
};
const feedparserOptions = {
feedurl: 'http://feeds.feedwrench.com/JavaScriptJabber.rss',
normalize: false,
addmeta: false,
resume_saxerror: true
};
feedparser.parse(httpOptions, feedparserOptions).then(items => { /* do your magic here */ });
title
: titledescription
: frequently, the full article contentsummary
: frequently, an excerpt of the article contentlink
: linkoriglink
: when FeedBurner or Pheedo puts a special tracking url in the link
property, origlink
contains the original linkpermalink
: when an RSS feed has a guid
field and the isPermalink
attribute is not set to false
, permalink
contains the value of guid
date
: most recent updatepubdate
: original published dateauthor
: authorguid
a unique identifier for the articlecomments
: a link to the article's comments sectionimage
: an Object containing
urland
title` propertiescategories
: an Array of Stringssource
: an Object containing url
and title
properties pointing to the original source for an article; see the RSS Spec for an explanation of this elementenclosures
: an Array of Objects, each representing a podcast or other enclosure and having a url
property and possibly type
and length
propertiesmeta
: an Object containing all the feed meta properties; especially handy when using the EventEmitter interface to listen to article
emissionsThere are many ways to contribute, such as fixing opened issues, creating them or suggesting new ideas. Either way will be very appreciated.
If there are issues open, I recommend you follow those steps:
$ npm test
feedparser-promised
is released under the MIT License.
FAQs
Wrapper around feedparser with promises
The npm package feedparser-promised receives a total of 1,358 weekly downloads. As such, feedparser-promised popularity was classified as popular.
We found that feedparser-promised 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.