MihoyoBBSTools/README.md

64 lines
3.2 KiB
Markdown
Raw Normal View History

2021-05-24 08:16:52 +00:00
<EFBFBD><EFBFBD># ꁨRs|8n>y
O(uPython3<>Q<EFBFBD>vs|8n>yy<79><79>v
2021-06-04 14:59:49 +00:00
## <00>YUOO(u
Windows<1A>
Sb_[python<00>[Q](https://www.python.org/downloads/) <0C><>p<EFBFBD>QDownload N}<7D>g<>eHrPythonv^ۏL<DB8F><4C>
Sb_[Git<00>[Q](https://git-scm.com/) <0C><>p<EFBFBD>Q`Download x.xx.1x for Windows` N}<7D>gitv^ۏL<DB8F><4C>
~b0RN*NT<02><>vMOn <0C>(u`Shift+<00>S.<2E>`Sb_`O<>v}T<>N<EFBFBD>c:y&{(cmd)/powershell <0C>6qT<>|4<><34>N N<>Q<EFBFBD>[`git clone https://github.com/Womsxd/AutoMihoyoBBS.git && cd AutoMihoyoBBS && pip install -r requirements.txt && explorer .\config`
<00>c@w <0C>(W9_<39>Q<EFBFBD>v<EFBFBD>e<EFBFBD>N<EFBFBD>{thV<68>v<EFBFBD>z<EFBFBD>Sُ̑ Y6R <0C>`config.json.example`v^9e T:N`config.json` <0C><>Y<EFBFBD>g<00><><EFBFBD>O(uY(u7b<37>v<EFBFBD>R<EFBFBD><52><EFBFBD><76><DD8B>9e Tb`xxx.json` <0C>
<00><>O(uvscode/notepad++I{<7B>e,g<><7F>hVSb_`config.json` <0C>O(u[<00><><EFBFBD>SCookie](#<00><><EFBFBD>Ss|8n>y<>vCookie)̑b<CC91><62>v<EFBFBD>e<EFBFBD>leg<65><67><EFBFBD>SCookie <0C>(Wb<>R<EFBFBD><52><EFBFBD>SCookieT<>|4<>0R`"mihoyobbs_Cookies": "`<00>vTb<54> <0C>KNT<>V0R`O<>v}T<>N<EFBFBD>c:y&{(cmd)/powershell <0C><><EFBFBD>eQ`python main.py`egۏL<DB8F>gbL<62> <0C>Y(u7b<37>v<EFBFBD><76>O(u`python main_multi.py` <0C>Y(u7b(W<00><><EFBFBD>ꁨRgbL<62><4C>v<EFBFBD>`<60>Q N<><4E>O(u`python main_multi.py autorun`
## <00><><EFBFBD>Ss|8n>y<>vCookie
10Sb_`O<>vOmȉhV <0C>ۏeQ<65>e<EFBFBD>u/<00><><EFBFBD><EFBFBD>!j_
20Sb_`http://bbs.mihoyo.com/ys/`v^ۏL<DB8F>{veQ<65>d\O
30 c N.<2E><>v
N<EFBFBD>v`F12`b<>S.<2E><>h<EFBFBD>g <0C>Sb__<>S<05><>]wQ
40<>p<EFBFBD>QConsole
50 Y6R`var cookie=document.cookie;var ask=confirm('Cookie:'+cookie+'\n\nDo you want to copy the cookie to the clipboard?');if(ask==true){copy(cookie);msg=cookie}else{msg='Cancel'}` <0C>(WConsolȇُۏL<DB8F><4C>|4<>T c<>Vf<56>gbL<62> <0C>v^(Wnx<6E><78><EFBFBD>e<EFBFBD><65>T<>p<EFBFBD>Qnx<6E>[0
60Cookie<00>]<5D>~ Y6R0R`O<>v<EFBFBD>|4<>g
N<EFBFBD>N
## ToDo
2021-05-25 13:30:53 +00:00
~~10Y(u7b/ec~~<00>]<5D>~/ec
2021-05-24 08:16:52 +00:00
## <00>la\<03><>VO(u <0C><><EFBFBD><EFBFBD>R'Y<03><>V O<>dُ*Ny<4E><79>v <0C><>a<EFBFBD>_<EFBFBD><5F><EFBFBD>a
<00><08>
## Q&A
Q<1A>ُ*Ny<4E><79>v/fr^<5E>NHN<48>v<1F>
2021-05-24 08:16:52 +00:00
A<1A>ُ/fN*Ns|8n>y<>vꁨR~{0Ry<52><79>v <0C>S+T<>Ns|8n^<5E>T<EFBFBD>S^y
Q<1A>:N<>NHN<48><4E><EFBFBD>Qُ*Ny<4E><79>v<1F>
2021-05-24 08:16:52 +00:00
A<1A><>[github
N<EFBFBD>s(W<>v<EFBFBD>Q*Ny<4E><79>v<61>S<EFBFBD>NM<4E>n<6E>v<EFBFBD>v0W<30>e<EFBFBD>k<EFBFBD><6B>\ <0C><>N/f1\<5C>Q<EFBFBD>Nُ*Ny<4E><79>v
2021-05-25 13:30:53 +00:00
## y<><79>v<EFBFBD>f<EFBFBD>e
2021-05-26 10:41:06 +00:00
<00><>O(u`git clone`KQ<4B><51>,gy<67><79>v <0C><>f<EFBFBD>enO(u`git pull` <0C><>^:NOTv^commits<00>vsQ<73>| <0C><>Y<EFBFBD>gG<67>0R<30>e<EFBFBD>l<EFBFBD>f<EFBFBD>e<EFBFBD><65>O(u`git reset --hard HEAD && git pull -r`:_6Rpullg<>e<EFBFBD>nx <0C><>Y<EFBFBD>g؏/f<>e<EFBFBD>l<EFBFBD>f<EFBFBD>e<EFBFBD><65>Y<>Nconfig<00>e<EFBFBD>N9Y<54>eKQ<4B><51>,gy<67><79>v0
2021-05-25 13:30:53 +00:00
2021-05-24 08:16:52 +00:00
## ,gy<67><79>v<EFBFBD>S<03><>N<EFBFBD>N Ny<4E><79>v
[XiaoMiku01/miyoubiAuto](https://github.com/XiaoMiku01/miyoubiAuto)
## License
[MIT License](https://github.com/Womsxd/AutoMihoyoBBS/blob/master/LICENSE)
2021-05-23 13:23:47 +00:00