Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
ParlementairesJS
Commits
c3a5cff9
Commit
c3a5cff9
authored
Jan 18, 2023
by
Bastien Le Querrec
Browse files
an: fix picture download link
parent
347383b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/an.sh
View file @
c3a5cff9
...
...
@@ -125,7 +125,7 @@ find json/acteur/ -type f | sed 's/\.json//i' | sed 's/json\/acteur\///i' | whil
echo
-n
" Downloading photo..."
if
[
!
-f
"
${
MAIN_DIR
}
/data/gen/an/images/
${
photo
}
.jpg"
]
;
then
curl
--silent
"http://www2.assemblee-nationale.fr/static/tribun/16/photos/
${
photo
}
.jpg"
>
"
${
MAIN_DIR
}
/data/gen/an/images/
${
photo
}
.jpg"
curl
-L
--silent
"http
s
://www2.assemblee-nationale.fr/static/tribun/16/photos/
${
photo
}
.jpg"
>
"
${
MAIN_DIR
}
/data/gen/an/images/
${
photo
}
.jpg"
fi
echo
" done."
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment