Aug-18-2022, 08:20 PM
sorry for my bad English,
I have scrapped a robots.txt from a website,
this is the trimmed/edited version of that txt
1. the "gamepic2.jpg" and "game2" is gibberish that I made, the real data is a real jpg image and may or may not be similar to the jpg URL
2. the data line is about 200.000 lines with that format
so my question is: what is the simple solution so I get if I look for the title "game2", the gamepic2.jpg as img will appear
I have scrapped a robots.txt from a website,
this is the trimmed/edited version of that txt
Quote:<img>gamepic1.jpg</img><title>game1</title>note:
<img>gamepic2.jpg</img><title>game2</title>
1. the "gamepic2.jpg" and "game2" is gibberish that I made, the real data is a real jpg image and may or may not be similar to the jpg URL
2. the data line is about 200.000 lines with that format
so my question is: what is the simple solution so I get if I look for the title "game2", the gamepic2.jpg as img will appear