本帖最后由 thp2008 于 2023-8-19 14:07 编辑
示例:- https://finder.video.aa.com/251/20302/stodownload?encfilekey=Cvvj5Ix3eez3Y79SxtvVL0L7CkPM6dFibFeI6caGYwFEMUEDjJPnm3dpFjWr1DUTibEJZs7dZelyxnb1AZlibiaiaAuZWUvXV471nfib0ozqNo7aEnBKFscXxia6YM0IGCekSHfLvIBnkHibclkAX0S14Qic0Bg&a=1&bizid=1023&dotrans=0&hy=SH&idx=1&m=90a771280dc7b66386def1fb66c46cb6&upid=500210&web=1&token=cztXnd9GyrH3ZYFfca0mbJ7UiaFibKcqbFBr3OibA3RwKG1obh80ia6mn8GjL4JMapTN7CEPCWRU3MQLBlgoVQVcVn8zxAtuX31dRzNb0mQfiaOHloPzkT77Hl72RfDdK2QWO&extg=10f002e&ftype=106&svrbypass=AAuL%2FQsFAAABAAAAAADCg%2FMPTMuTOhKqovDeZBAAAADnaHZTnGbFfAj9RgZXfw6V3j7vuys4AKMz%2Bp6pPCJ3ALOzRqRGs2rsGKiA0fNBNns%3D&svrnonce=1692332194&fexam=1&X-snsvideoflag=xW29
复制代码
- @echo off
- set /p zfc=请输入链接:
- 粘贴上面的示例字符串
- 批处理要实现的功能:自动将示例字符串中的,
- 1、20302替换成20304
- 2、将&a=1&bizid=1023&dotrans=0&hy=SH&idx=1&m=90a771280dc7b66386def1fb66c46cb6&upid=500210&web=1这一段删除
- 3、将最后这一段 &extg=10f002e&ftype=106&svrbypass=AAuL%2FQsFAAABAAAAAADCg%2FMPTMuTOhKqovDeZBAAAADnaHZTnGbFfAj9RgZXfw6V3j7vuys4AKMz%2Bp6pPCJ3ALOzRqRGs2rsGKiA0fNBNns%3D&svrnonce=1692332194&fexam=1&X-snsvideoflag=xW29也删除。
- 4、剩下的输出显示出来,并自动复制到剪贴板就好了。
复制代码 最终输出:- https://finder.video.aa.com/251/20304/stodownload?encfilekey=Cvvj5Ix3eez3Y79SxtvVL0L7CkPM6dFibFeI6caGYwFEMUEDjJPnm3dpFjWr1DUTibEJZs7dZelyxnb1AZlibiaiaAuZWUvXV471nfib0ozqNo7aEnBKFscXxia6YM0IGCekSHfLvIBnkHibclkAX0S14Qic0Bg&token=cztXnd9GyrH3ZYFfca0mbJ7UiaFibKcqbFBr3OibA3RwKG1obh80ia6mn8GjL4JMapTN7CEPCWRU3MQLBlgoVQVcVn8zxAtuX31dRzNb0mQfiaOHloPzkT77Hl72RfDdK2QWO
复制代码 &a=
&idx=
&extg=
&svrbypass=
&svrnonce=
&fexam=
20302
encfilekey=
&token=
这些是固定不变的,其它的字符串是变化的。
只保留encfilekey和token本身和后面的部分。
请高手帮忙,谢谢! |