中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 03:38
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » [Solved] How to implement batch processing to generate many files
Printable Version  4,183 / 24
Floor16 liu3157551 Posted 2009-04-22 13:40
中级用户 Posts 164 Credits 259
Although I feel very worried that QVOD has encrypted it... But in order to let you study, I can only do this. Is there any expert to help solve the problem?
Floor17 yishanju Posted 2009-04-22 14:03
银牌会员 Posts 1,357 Credits 1,488
The generated file should probably be saved as UTF8. Also, please upload a copy of that "A.TXT" for us to take a look.
Floor18 liu3157551 Posted 2009-04-23 21:23
中级用户 Posts 164 Credits 259
That is just that the download file address is collected in A, txt. It is like eDonkey. qvod://261204498|79B492FD2273303CF4A58EB8E0746FF57E15BD4C|败犬女王_14.rmvb|
The front is the size, the back is the sh1 fingerprint, and then the file name. You can name it randomly by yourself.
Floor19 yishanju Posted 2009-04-23 22:22
银牌会员 Posts 1,357 Credits 1,488
Save the text obtained from the batch processing on the 14th floor as UTF8 and see if it can be recognized.
Floor20 liu3157551 Posted 2009-04-23 23:44
中级用户 Posts 164 Credits 259
Still not working. Let's see what the difference is. I'll upload an attachment of a file generated by batch processing and a seed file for you.

[ Last edited by liu3157551 on 2009-4-24 at 07:06 ]
Floor21 liu3157551 Posted 2009-04-23 23:50
中级用户 Posts 164 Credits 259
How about this?
1. Can we use batch processing to copy the original file to generate a new file?
2. Just modify and replace the address in the third line of the new file?

Will this accurately complete the task?

[ Last edited by liu3157551 on 2009-4-23 at 23:54 ]
Floor22 yishanju Posted 2009-04-24 03:20
银牌会员 Posts 1,357 Credits 1,488
==Let's try it to see if it works,
Can we use third-party command-line tools?
Seeing so many very good and powerful small movies in the list, I decided to install a player first
What players does the楼主use?
Floor23 yishanju Posted 2009-04-24 05:48
银牌会员 Posts 1,357 Credits 1,488
@echo off
for /f "tokens=1,2,3* delims=^|" %%i in (list.txt) do (
copy qsed.txt "%%k.qsed" /y
wfr "%%k.qsed" -ric:"<ref href=\".*" -t:"^<ref href=\"%%i|%%j|%%k|\r" -encout:utf-8


)
pause

Because to generate UTF-8 text, a third-party command-line tool WFR is used, which supports regular expression find and replace, and encoding conversion.

According to the idea mentioned in building 21, use a playable QSED file as a template, copy it into a new file, and then modify it with WFR.
The qsed.txt in the attachment is the template file.
list.txt is the file containing QVOD addresses.

Attachment download:
http://upload.cn-dos.net/img/1428.rar
http://www.namipan.com/d/QVOD.rar/5241150d035c3ef1fc4ad569f3cbad38651e3838bde60200

[ Last edited by yishanju on 2009-4-24 at 05:55 ]
Floor24 liu3157551 Posted 2009-04-24 07:01
中级用户 Posts 164 Credits 259
Thank you. You're so smart and good``It's really rare to have someone like you. Your character is really good~~~
Thanks a lot~~It's hard to put into words, just like winning a prize^_^
Forgot to tell you it's QVOD Chinese KuaiBo Player^_^ Hope you'll like it too

[ Last edited by liu3157551 on 2009-4-24 at 07:03 ]
Floor25 liu3157551 Posted 2010-01-05 15:07
中级用户 Posts 164 Credits 259
But after inspection, there were a few small issues, not perfect, but it doesn't affect use. Just not aesthetically pleasing. Some files have two more "^" symbols generated.

Then I finished it by randomly modifying it myself... I'm really stupid. Sorry to bother you again.

[ Last edited by liu3157551 on 2010-1-5 at 21:14 ]
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023