Project

kcna

0.0
No commit activity in last 3 years
No release in over 3 years
A Ruby gem for kcna.kp(KCNA, Korean Central News Agency)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 5.0
~> 0.10
~> 10.0
>= 0

Runtime

~> 2.10
 Project Readme

kcna.rb

A Ruby gem for kcna.kp(KCNA, Korean Central News Agency)

Installation

Add this line to your Gemfile and execute bundle. (recommended way)

gem 'kcna'

You can also install it by gem install kcna.

Usage

require "kcna"

kcna = KCNA.new

kcna.get_article_list.each do |article|
  content = kcna.get_article(article.id).content
  File.write("/path/to/directory/#{article.id}.txt", content)
end

See also RubyDoc.

License

MIT