aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTeddy Wing2018-08-21 02:11:00 +0200
committerTeddy Wing2018-08-21 02:11:00 +0200
commit36758fd1ff687ee062d0403930aad85c7477d9bf (patch)
treeefe1667af6ea49e54bd9bd726fabf6a65a2e8e63 /README.md
parent7f44413d44d080ad3ad209759e80fdb0292d8d5d (diff)
downloadnpr-text-mode-redirect-36758fd1ff687ee062d0403930aad85c7477d9bf.tar.bz2
Handle cases where the article ID isn't in 6th position
In this example: https://www.npr.org/sections/thesalt/2018/08/20/636845604/beer-drinking-water-and-fish-tiny-plastic-is-everywhere the article ID isn't in the position we expect it to be, and we instead get `08` as the `article_id`. Instead of expecting the article ID to always be in the same spot, look for it in the second-from-last position.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions