本帖最后由 a574045075 于 2024-8-10 14:34 编辑
- src="https://cdn.wikimg.net/en/zeldawiki/images/thumb/a/ab/Aftermath.png/120px-Aftermath.png" decoding="async" loading="lazy" width="120" height="103" srcset="//cdn.wikimg.net/en/zeldawiki/images/thumb/a/ab/Aftermath.png/180px-Aftermath.png 1.5x, //cdn.wikimg.net/en/zeldawiki/images/thumb/a/ab/Aftermath.png/240px-Aftermath.png 2x" /></a></span></div>
- <div class="gallerytext">
- <a href="/wiki/File:Aftermath.png" class="galleryfilename galleryfilename-truncate" title="File:Aftermath.png">Aftermath.png</a>
- 400 × 344; 142 KB<br />
-
- </div>
- </li>
- <li class="gallerybox" style="width: 155px">
- <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Fishing_Hook_Screenshot.png" class="mw-file-description"><img alt="" src="https://cdn.wikimg.net/en/zeldawiki/images/thumb/8/8a/Fishing_Hook_Screenshot.png/120px-Fishing_Hook_Screenshot.png" decoding="async" loading="lazy" width="120" height="96" srcset="//cdn.wikimg.net/en/zeldawiki/images/8/8a/Fishing_Hook_Screenshot.png 1.5x" /></a></span></div>
- <div class="gallerytext">
- <a href="/wiki/File:Fishing_Hook_Screenshot.png" class="galleryfilename galleryfilename-truncate" title="File:Fishing Hook Screenshot.png">Fishing Hook Screenshot.png</a>
- 160 × 128; 2 KB<br />
复制代码 如何把上面代码里面的图片链接批量提取并输出到新文本中?
结果如下- https://cdn.wikimg.net/en/zeldawiki/images/thumb/a/ab/Aftermath.png/120px-Aftermath.png
- https://cdn.wikimg.net/en/zeldawiki/images/thumb/8/8a/Fishing_Hook_Screenshot.png/120px-Fishing_Hook_Screenshot.png
复制代码
|