how about this
not entirely what you want, because it will not test the url+random_six_character requirement , just follow all existing links on a page.
I fed it your question and this is what it spat out,
Question
Answer
Or search for an existing project on github 👀
not entirely what you want, because it will not test the url+random_six_character requirement , just follow all existing links on a page.
Try Bing Copilot GPT-4 , it will usually write a solution for you, as long as the task is broken up in to highly descriptive parts, you will have to debug it , by pasting all errors and asking it to correct the script., but it will work.
I fed it your question and this is what it spat out,
Question
help creating a script that will test a possible web address to see if it is a valid page and then drop the valid links in a file for me to then grab content from. Basically, I know that there is a website of URL+random six character string that has content.
how to iteratively test all possible variables of that URL-"random six character string" and then write out the one that isn't 404 to a file so I can then grab the content from it
use python, thanks chat gpt
Answer
Or search for an existing project on github 👀
Last edited: