Compare commits
No commits in common. "85ae467de2b61941ee57e5196e31c3e490d0ab56" and "ea88888351edd01537d475401a90b98aad18b69b" have entirely different histories.
85ae467de2
...
ea88888351
1
mapillary_sequences_userscript/.gitignore
vendored
1
mapillary_sequences_userscript/.gitignore
vendored
@ -2,4 +2,3 @@ out*
|
||||
sequences*.json
|
||||
sequences*.txt
|
||||
secrets_variables.sh
|
||||
script_bash*
|
@ -1,10 +1,9 @@
|
||||
#!/bin/bash
|
||||
# récupérer les séquences pour un tas d'utilisateurs
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
# Liste des usernames
|
||||
usernames=("pasq_fr" "gotpo" "romelito" "julessgds" "evaseignanx" "fost" "ciutadavng" "yopasepor" "jasskum" "jonnymccullagh" "reisender" "derfred" "zlphr" "gatpro" "heilbron" "h4n5antw")
|
||||
#usernames=("evaseignanx" )
|
||||
usernames=("gotpo" "romelito" "julessgds" "evaseignanx" "fost" "ciutadavng" "yopasepor" "jasskum" "jonnymccullagh" "reisender" "derfred" "zlphr" "gatpro" "heilbron" "h4n5antw")
|
||||
|
||||
|
||||
source secrets_variables.sh
|
||||
@ -20,11 +19,9 @@ echo "---------- utilisateur: $username"
|
||||
# Vérifier si le fichier sequences_$username.txt existe
|
||||
if [ ! -f "sequences_$username.txt" ]; then
|
||||
python3 get_sequences_of_username.py --username="$username" --dev_token="$MAPILLARY_DEV_TOKEN" --max_sequence=9999
|
||||
else
|
||||
echo "le fichier sequences txt existe pour $username"
|
||||
fi
|
||||
# Lancer la commande pour chaque username
|
||||
if [ ! -f "script_bash_get_sequences_for_user_$username.sh" ]; then
|
||||
python3 text_array_to_download_script.py --username=$username --dev_token="$MAPILLARY_DEV_TOKEN"
|
||||
python3 text_array_to_download_script.py --username=eric_s --dev_token="$MAPILLARY_DEV_TOKEN"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user