Pretty code
This commit is contained in:
parent
15b2ecf652
commit
6d12908ab8
4
livie.el
4
livie.el
@ -567,8 +567,8 @@ zero exit code otherwise the request body is parsed by `json-read' and returned.
|
|||||||
(json-read))))
|
(json-read))))
|
||||||
|
|
||||||
(defun livie--query (string n)
|
(defun livie--query (string n)
|
||||||
"Query youtube for STRING, return the Nth page of results."
|
"Query youtube for STRING, return the Nth page of results."
|
||||||
(let ((results (livie--API-call "search" `(("q" ,string)
|
(let ((results (livie--API-call "search" `(("q" ,string)
|
||||||
("sort_by" ,(symbol-name livie-sort-criterion))
|
("sort_by" ,(symbol-name livie-sort-criterion))
|
||||||
("type" ,livie-type-of-results)
|
("type" ,livie-type-of-results)
|
||||||
("page" ,n)
|
("page" ,n)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user