- First Name
- Alex
- Joined
- Jul 23, 2020
- Threads
- 1
- Messages
- 22
- Reaction score
- 105
- Location
- Amarillo Texas
- Vehicle(s)
- 2012 Ram 1500
- Your Bronco Model
- Wildtrak
- Thread starter
- #61
OP be like
Sponsored
OP be like
I realized the page is there but Access is Denied. I had to revise the code to notice if the page is available. See the changes in RED-------------------
curl https://shop.ford.com/configure/broncosport/model/customize/badlands > c:\downloads\url.txt
@echo off
setlocal EnableDelayedExpansion
set minbytesize=5000
set size=%~z1
if not defined size set size=1
cls
@echo off
if %size% LSS %minbytesize% (
echo.Not Found
) else (
echo.
echo.
echo.GO_BUILD!
rundll32 user32.dll,MessageBeep
pause
)
? ? ? ?I got this working in Microsoft Windows: Using CURL
I'm using this with the Windows Task Scheduler. Copy the code after the double lines and paste it into a text file. Then name the file whatever you want with an extension of "cmd". ie: checkforbuild.cmd
If you're familiar enough to test this from the command line, the full command is: "checkforbuild.cmd url.txt"
I put this command file in a folder called "C:\Downloads". The code looks for the web page and records information about the page to a file called "url.txt" and places it in a folder called "C:\Downloads". You can use whatever folder location you want, just update the code. If the page does not exist, the url.txt file is created with zero bytes. The code below checks for file size.
If you're familiar with the Windows Task Scheduler, you can put this in a task with the command "checkforbuild.cmd" along with an argument for "url.txt" (see my screenshot) . The task can then be set to run every five minutes if you want.
This code will make an audible alert and pop up a small window saying "GO_BUILD!" if the web page is found. The 'pause' command keeps it on the screen until you click a key. I used the Bronco Sport Badlands web page to confirm this works. You'll want to edit this for the "Bronco" page once you see that it works for you.
-------------------
-------------------
curl https://shop.ford.com/configure/broncosport/model/customize/badlands > c:\downloads\url.txt
@echo off
setlocal EnableDelayedExpansion
set minbytesize=5000
set size=%~z1
if not defined size set size=1
cls
@echo off
if %size% LSS %minbytesize% (
echo.Not Found
) else (
echo.
echo.
echo.GO_BUILD!
rundll32 user32.dll,MessageBeep
pause
)
-----------------------------------------------------------
Windows Task Scheduler
Scheduled for every five minutes
OUTPUT:
Well yours had more of a "let's take down the Ford site by pinging it a million times per second, everyone download this exe file" vibe. ?Very cool man!! I posted a similar Python script here on Bronco6G, but then it got taken down by admins. Glad to see a useful tool for capturing that ever-evasive B&P haha
Haha good point. I knew I shouldn’t have made it so accessible in EXE format. You’re totally right though. Ford is just going to continue using smoke and mirrors to distract us from the fact that they’re still figuring out pricing. Honestly, I’d rather Ford focus on getting panel samples of all the colors to dealerships so I can check them out in person. Also, vinyl and cloth samples so I can feel them.Well yours had more of a "let's take down the Ford site by pinging it a million times per second, everyone download this exe file" vibe. ?
Kudos to both of ya'll cuz you're both much smarter than dummy like me. But we all know B&P will either drop on Oct 31 at 11:59pm or get delayed again. And they'll release more pics of the bronco raptor in camo to distract us.