letterbox is a news article crawler from newsapi, and currents.
Setup your session.
letterbox_key("xxXxxX", "XxxXx")
Get some data.
articles <- letterbox::get_articles(
q = "United Nations",
since = Sys.Date() - 7,
until = Sys.Date(),
language = "en",
results = 100
)
knitr::kable(head(articles))
source | author | title | description | url | image | published | content | language | category | crawled_at |
---|---|---|---|---|---|---|---|---|---|---|
Gizmodo.com | Dharna Noor on Earther, shared by Jody Serrano to Gizmodo | Scotland Is on Track to Hit 100 Percent Renewable Energy This Year, Slàinte Mhath! | United Nations scientists have warned that most countries are on track to totally botch the climate goals needed to curb catastrophic global warming. But there’s at least one bright spot. Read more… | https://earther.gizmodo.com/scotland-is-on-track-to-hit-100-percent-renewable-energ-1841202818 | https://i.kinja-img.com/gawker-media/image/upload/c_fill,f_auto,fl_progressive,g_center,h_675,pg_1,q_80,w_1200/rmtrwrmvzdt3xwkfirbi.jpg | 2020-01-24T17:45:00Z | United Nations scientists have warned that most countries are on track to totally botch the climate goals needed to curb catastrophic global warming. But theres at least one bright spot. | |||
Scotland is on | track to move its energy sector to 100 percent renewable… [+ | 3334 chars] NA NA 2020-02-23 19:41:02 | ||||||||
Gizmodo.com | George Dvorsky on Earther, shared by Brian Kahn to Gizmodo | A Massive Locust Swarm Poses an ‘Unprecedented Threat’ to East Africa | A grim report from the United Nations warns that unusually large swarms of locusts will be descending upon East Africa in the coming months, in what could be the worst infestation in a quarter century. The pests could pose a serious risk to crops and liveliho… | https://earther.gizmodo.com/a-massive-locust-swarm-poses-an-unprecedented-threat-to-1841207810 | https://i.kinja-img.com/gawker-media/image/upload/c_fill,f_auto,fl_progressive,g_center,h_675,pg_1,q_80,w_1200/ewokisbs1fli8m6pldlw.jpg | 2020-01-24T21:22:00Z | A grim report from the United Nations warns that unusually large swarms of locusts will be descending upon East Africa in the coming months, in what could be the worst infestation in a quarter century. The pests could pose a serious risk to crops and liveliho… [+3787 chars] | NA | NA | 2020-02-23 19:41:02 |
bbc-news | NA | Man Utd close in on Sporting’s Fernandes for initial £47m | Manchester United are close to completing a deal for Sporting Lisbon midfielder Bruno Fernandes. | https://www.bbc.co.uk/sport/football/51286118 | https://ichef.bbci.co.uk/onesport/cps/624/cpsprodpb/131F0/production/_110402387_brunofernandes_getty.jpg | 2020-01-28T19:03:39Z | Bruno Fernandes has been linked with a move to Manchester United since last summer | |||
Manchester Uni | ted are close to completing a deal for Sporting Lisbon midfie | lder Bruno Fernandes. | ||||||||
The Old Traffo | rd club have been in negotiations with Sporting throughout th | e … [+855 chars] NA NA 2020-02-23 19:41:02 | ||||||||
BBC News | NA | Man Utd close in on Sporting’s Fernandes for initial £47m | Manchester United are close to completing a deal for Sporting Lisbon midfielder Bruno Fernandes. | https://www.bbc.co.uk/sport/football/51286118 | https://ichef.bbci.co.uk/onesport/cps/624/cpsprodpb/131F0/production/_110402387_brunofernandes_getty.jpg | 2020-01-28T19:03:39Z | Bruno Fernandes has been linked with a move to Manchester United since last summer | |||
Manchester Uni | ted are close to completing a deal for Sporting Lisbon midfie | lder Bruno Fernandes. | ||||||||
The Old Traffo | rd club have been in negotiations with Sporting throughout th | e … [+855 chars] NA NA 2020-02-23 19:41:02 | ||||||||
reuters | Steve Holland | Palestinians’ Abbas denounces U.S. peace proposal as gift to Israel | Palestinian President Mahmoud Abbas, appearing before the United Nations Security Council, angrily rejected U.S. President Donald Trump’s Middle East peace proposal on Tuesday as a gift to Israel and unacceptable to Palestinians. | https://www.reuters.com/article/us-israel-palestinians-un-idUSKBN205255 | https://s2.reutersmedia.net/resources/r/?m=02&d=20200211&t=2&i=1488895081&w=1200&r=LYNXMPEG1A1H3 | 2020-02-11T17:28:52Z | (Reuters) - Palestinian President Mahmoud Abbas, appearing before the United Nations Security Council, angrily rejected U.S. President Donald Trump’s Middle East peace proposal on Tuesday as a gift to Israel and unacceptable to Palestinians. | |||
Waving a copy | o… [+2753 chars] NA NA 2020-02-23 19:41:02 | |||||||||
Reuters | Steve Holland | Palestinians’ Abbas denounces U.S. peace proposal as gift to Israel | Palestinian President Mahmoud Abbas, appearing before the United Nations Security Council, angrily rejected U.S. President Donald Trump’s Middle East peace proposal on Tuesday as a gift to Israel and unacceptable to Palestinians. | https://www.reuters.com/article/us-israel-palestinians-un-idUSKBN205255 | https://s2.reutersmedia.net/resources/r/?m=02&d=20200211&t=2&i=1488895081&w=1200&r=LYNXMPEG1A1H3 | 2020-02-11T17:28:52Z | (Reuters) - Palestinian President Mahmoud Abbas, appearing before the United Nations Security Council, angrily rejected U.S. President Donald Trump’s Middle East peace proposal on Tuesday as a gift to Israel and unacceptable to Palestinians. | |||
Waving a copy | o… [+2753 chars] NA NA 2020-02-23 19:41:02 |
You can install the released version of letterbox from Github with:
install.packages("remotes")
remotes::install_github("news-r/letterbox")