Skip to content

arusanov/news-grabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI for parsing social sharing and news from sites.

  Usage: node index.js [options]

  Options:
    -h, --help           output usage information
    -a, --append         Append result
    -s, --social         Social retrieval
    -u, --url <link>     News url
    -r, --result <file>  Result json file

You can schedule it using any existing tool like cron

Use -a to update extracted info and sharing count in result file. Use -s to parse social counters (longer)

Output format:

[
    {
       link: 'http://bitcoinwarrior.net/2015/01/ag-holder-ends-asset-seizures/',
       text: '\n\nAG Holder Ends (Some) Asset Seizures\n\nBitcoin ...',
       sharing: { vk: 0, gplus: 1, pinterest: 0, twitter: 29, linkedin: 4 }
    }
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published