YourShipping (a.k.a. TuEnvio) has no public monitoring and notifications options. This is a basic app to monitoring specific departments and products from its well-known uri.
The goal is "similar" to camelcamelcamel but in this case the target is TuEnvio.
You're right, who am I kidding? The goal is buy ;).
Follow the Bots: An introduction for developers tutorial to create your telegram bot and save your telegram bot token.
ALERT: Linux users need to Install Mono required to run
GitVersion.CommandLine
-
Install Cake Build tools
> dotnet new tool-manifest > dotnet tool install Cake.Tool
-
Run
Publish
task> cd %CLONE_DIR% > dotnet cake -target="Publish" -configuration="Release"
-
Run DockerBuild task.
> cd %CLONE_DIR% > dotnet cake -target="DockerBuild"
> mkdir %APP_DIR%/data
> mkdir %APP_DIR%/logs
> docker run -d --name your-shipping-monitor --rm -p 80:80 -v %APP_DIR%/data:/app/data -v %APP_DIR%/logs:/app/logs -e "TelegramBot:Token=%TELEGRAM_BOT_TOKEN%" your-shipping-monitor:latest
You can export the cookies.txt
by using theses extensions:
- Chrome / Microsoft Edge: cookiestxt
- Microsoft Edge: get-cookiestxt
and save it in this location %APP_DIR%/data
.
ALERT: Linux users should make sure to install the following libraries:
libleptonica-dev, libgif7, libjpeg62, libopenjp2-7, libpng16-16, libtiff5, libwebp6, libc6-dev, libgdiplus
ALERT: If this method doesn't work for you, just use the cookies.txt file.
-
Add a configuration section to for credentials
"Credentials": { "Username": "%USERNAME%", "Password": "%PASSWORD%" }
-
For docker run use this environment variables
-e "Credentials:Username=%USERNAME%" -e "Credentials:Password=PASSWORD"
ALERT: The captcha database might require updates over time, so if you notice a new captcha challenge, just solve it and create a PR in the database repository.
-
For docker run
> mkdir %APP_DIR%/data > mkdir %APP_DIR%/logs > mkdir %APP_DIR%/captchas > git clone --progress -v "https://github.com/alexfdezsauco/YourShipping.Monitor-ReCaptchasDB.git" "%APP_DIR%/re-captchas" > docker run -d --name your-shipping-monitor --rm -p 80:80 -v %APP_DIR%/data:/app/data -v %APP_DIR%/logs:/app/logs -v %APP_DIR%/captchas:/app/captchas -v %APP_DIR%/re-captchas:/app/re-captchas -e "TelegramBot:Token=%TELEGRAM_BOT_TOKEN%" -e "Credentials:Username=%USERNAME%" -e "Credentials:Password=PASSWORD" your-shipping-monitor:latest