summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagn@cs.stanford.edu>2015-04-20 18:20:37 -0700
committerGiovanni Campagna <gcampagn@cs.stanford.edu>2015-04-26 18:51:34 -0700
commit65698590834ce3bb7a836d7e14b36a2ba87e0481 (patch)
tree53d0973306f8e89a091d1778940c4e9280ee92c3 /src
parent1b1c0d31bdd3f6e1c9c11d7d03a2f9610cc44525 (diff)
downloadgrilo-plugins-65698590834ce3bb7a836d7e14b36a2ba87e0481.tar.gz
guardianvideos: fix URL format string
The online service complains loudly if passed 1.0 instead of 1, let's make sure values are formatted as integers. https://bugzilla.gnome.org/show_bug.cgi?id=748224
Diffstat (limited to 'src')
-rw-r--r--src/lua-factory/sources/grl-guardianvideos.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua-factory/sources/grl-guardianvideos.lua b/src/lua-factory/sources/grl-guardianvideos.lua
index cf1cf16..282a898 100644
--- a/src/lua-factory/sources/grl-guardianvideos.lua
+++ b/src/lua-factory/sources/grl-guardianvideos.lua
@@ -23,7 +23,7 @@
-- Test the API at:
-- http://explorer.content.guardianapis.com/search?api-key=rppwmmu3mfqj6gkbs8kcjg23&show-fields=all&page-size=50&tag=type/video
API_KEY = 'rppwmmu3mfqj6gkbs8kcjg23'
-GUARDIANVIDEOS_URL = 'http://content.guardianapis.com/search?tag=type/video&page=%s&page-size=%s&show-fields=all&api-key=%s'
+GUARDIANVIDEOS_URL = 'http://content.guardianapis.com/search?tag=type/video&page=%d&page-size=%d&show-fields=all&api-key=%s'
---------------------------
-- Source initialization --