问题
I recently found an old website that I used to use (we'll call it example.com) which stores images on a page with the URL of your ID and a 5-character randomly-generated code. For example if my ID is HG5K, one of these images will be located at example.com/[random code here]_HG5K.png.
The code generator uses a random combination of capital letters and numbers.
Some examples of codes:
83JME_HG5K HD2U3_HG5K 33GIZ_HG5K
What I'm asking is: if there is a way to search example.com for any pages that end in _HG5K.png, how do I do it?
Once we've found all of the pages containing the _HG5K.png suffix, how can I make it download the image from each of these pages onto my desktop?
Expected usage and procedure:
- Search for any pages on
example.comthat end in_HG5K.png - For every page that ends in
_HG5K.png, download the image to desktop.
来源:https://stackoverflow.com/questions/59222643/can-you-download-images-from-a-specific-domain-for-each-page-ending-in-a-string