Skip to content

Commit

Permalink
Permet de récupérer des documents provenant de la veille interface de…
Browse files Browse the repository at this point in the history
…s douanes
  • Loading branch information
teymour committed Oct 31, 2023
1 parent 67403a9 commit 6292886
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/download_douane.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ fi
if test "$type" = "dr" ; then
rm ./documents/dr-"$annee"*"$cvi"*
PRODOUANE_USER="$PRODOUANE_USER" PRODOUANE_PASS="$PRODOUANE_PASS" CVI="$cvi" PRODOUANE_ANNEE="$annee" scrapy crawl "$type"
elif test "$type" = "sv11" && test $annee -lt 2022 ; then
PRODOUANE_USER="$PRODOUANE_USER" PRODOUANE_PASS="$PRODOUANE_PASS" CVI="$cvi" PRODOUANE_ANNEE="$annee" scrapy crawl "$type"
elif test "$type" = "sv12" && test $annee -lt 2022 ; then
PRODOUANE_USER="$PRODOUANE_USER" PRODOUANE_PASS="$PRODOUANE_PASS" CVI="$cvi" PRODOUANE_ANNEE="$annee" scrapy crawl "$type"
else
PRODOUANE_USER="$PRODOUANE_USER" PRODOUANE_PASS="$PRODOUANE_PASS" CVI="$cvi" PRODOUANE_ANNEE="$annee" node puppeteer_scrapping/prodouane_vendanges.js
fi

0 comments on commit 6292886

Please sign in to comment.