Sign inSign up

germainlefebvre4/bspauto-bash-scraper

By germainlefebvre4

•Updated about 1 year ago

Scraper to retrieve the list of car prices on a car rental search from BSP Auto page.

Image
0

781

germainlefebvre4/bspauto-bash-scraper repository overview

⁠BspAuto scraper

⁠Tags

⁠Quick reference

⁠What is BspAuto Scraper?

⁠Run the script
docker run --rm -v "$HOME/.aws:/root/.aws" germainlefebvre4/bspauto-bash-scraper:latest

⁠Parameters

⁠Script parameters
NameDescriptionVariableParameterShort paramLong paramDefault valueExample
AWS ProfileAWS profile name set into file ~/.aws/credentials.YesYes-profile--aws-profilemy_aws_profile--aws-profile my_aws_profile
AWS BucketAWS Bucket name where store the results.YesYes-bucket--aws-bucketmy-aws-bucket--aws-bucket my-aws-bucket
QuietReduce verbosity of the script.YesYes-q--quietNone--quiet
Airport IDID of the Airport for departure AND return.Yes-a--airportNone--airport '3720
Departure dateDate of the departure in format DD/MM/YYYY.Yes-dd--departure-dateNone--departure-date '13/05/2023'
Departure timeTime of the departure in format HH:MM.Yes-dt--departure-timeNone--departure-tome '13:00'
Return dateDate of the return in format DD/MM/YYYY.Yes-rd--return-dateNone--return-date '25/05/2023'
Return timeTime of the return in format HH:MM.Yes-rt--return-timeNone--return-time '10:00'
CarsList of cars to watch for.Yes-ca--carsNone--cars "RENAULT CLIO,PEUGEOT 208"
Current pricePrice to show as static value for comparison (usually the booked price).Yes
⁠Run the script with parameters
docker run --rm -v "$HOME/.aws:/root/.aws" germainlefebvre4/bspauto-bash-scraper:latest --aws-profile my_aws_profile --aws-bucket my-aws-bucket --quiet --airport '3715' --departure-date '21/05/2023' --departure-time '08:00' --return-date '30/05/2023' --return-time '20:00' --cars "RENAULT CLIO,PEUGEOT 208,FIAT 500 X,VW GOLF,RENAULT MEGANE,JEEP RENEGADE,PEUGEOT 308,VW PASSAT,PEUGEOT 3008"

Tag summary

Content type

Image

Digest

sha256:7a3385134…

Size

108.3 MB

Last updated

about 1 year ago

docker pull germainlefebvre4/bspauto-bash-scraper