Commit c3a5cff9 authored by Bastien Le Querrec's avatar Bastien Le Querrec
Browse files

an: fix picture download link

parent 347383b6
......@@ -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 "https://www2.assemblee-nationale.fr/static/tribun/16/photos/${photo}.jpg" > "${MAIN_DIR}/data/gen/an/images/${photo}.jpg"
fi
echo " done."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment