ntp_snippets: add script to fetch articles

Desktop / Chromium - sfiera [chromium.org] - 27 March 2017 04:38 EDT

I got tired of referring back to the cheat sheet, and encoding experiments was annoying. This will hopefully be much better for checking things.

There's a problem with --signed-in right now. Apparently the client id and secret it auto-detects aren't usable. Providing our project's internal one works fine, but I'll talk to Roger to see what's up with the general client parameters.

Review-Url: https://codereview.chromium.org/2767143005 Cr-Commit-Position: refs/heads/master@{#459721}

92b8671 ntp_snippets: add script to fetch articles
components/ntp_snippets/remote/fetch.py | 228 ++++++++++++++++++++++++++++++++
1 file changed, 228 insertions(+)

Upstream: git.chromium.org

  • Share