update section and quotes
This commit is contained in:
parent
efde00d5c0
commit
f094d4b9e6
2 changed files with 3 additions and 3 deletions
|
|
@ -147,7 +147,7 @@ Make sure your terminal emulator supports Unicode to see the notes.
|
||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Get URL
|
*** Get URL and other data
|
||||||
|
|
||||||
To play a video, we need to get a valid URL.
|
To play a video, we need to get a valid URL.
|
||||||
Since there are sometimes parsing errors of the JSON response, we use an endless loop to try until we get a valid response.
|
Since there are sometimes parsing errors of the JSON response, we use an endless loop to try until we get a valid response.
|
||||||
|
|
@ -213,7 +213,7 @@ If the interactive flag is present, show the first ten results and query for a v
|
||||||
then
|
then
|
||||||
echo ""
|
echo ""
|
||||||
selections=(0 1 2 3 4 5 6 7 8 9 q)
|
selections=(0 1 2 3 4 5 6 7 8 9 q)
|
||||||
for i in ${selections[@]}
|
for i in "${selections[@]}"
|
||||||
do
|
do
|
||||||
if [ ! "$i" = "q" ]
|
if [ ! "$i" = "q" ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
2
tyt
2
tyt
|
|
@ -146,7 +146,7 @@ if [ "$interactive" = true ]
|
||||||
then
|
then
|
||||||
echo ""
|
echo ""
|
||||||
selections=(0 1 2 3 4 5 6 7 8 9 q)
|
selections=(0 1 2 3 4 5 6 7 8 9 q)
|
||||||
for i in ${selections[@]}
|
for i in "${selections[@]}"
|
||||||
do
|
do
|
||||||
if [ ! "$i" = "q" ]
|
if [ ! "$i" = "q" ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue