Welcome Guest ( Log In | Register )

1263 Pages V « < 706 707 708 709 710 > »   
Reply to this topicStart new topic
> 中文討論區: 杜拉漢有話要說 [禁無意義的水跟簽到], The Chinese discussion thread of declining quality.

 
post Jan 2 2024, 06:07
Post #14141
sharmy



Active Poster
*******
Group: Gold Star Club
Posts: 2,373
Joined: 20-May 19
Level 500 (Ponyslayer)


QUOTE(bluepainter @ Jan 2 2024, 04:02) *

新年了,很久没回来看看,留个言。
看见各个大佬头像下面好多饼干奖励,感觉好强

(IMG:[invalid] style_emoticons/default/smile.gif) 少年(or少女),你用腦子想想不充錢你能變強嗎?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 06:07
Post #14142
Lady_Slayer



Member of the Bal'masqué
*********
Group: Catgirl Camarilla
Posts: 5,457
Joined: 20-December 16
Level 500 (Ponyslayer)


QUOTE(ericeric91 @ Jan 2 2024, 09:54) *

早上看了下 BOT 壞掉了,因為 test 版塊有時間限制 XD


想要延期测试的话直接放wts里行么?bot应该可以编辑它的post,虽然那个post会在很后很后的地方XD
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 06:10
Post #14143
ccnan23



Sensei nante Daikirai
****
Group: Gold Star Club
Posts: 268
Joined: 23-January 23
Level 500 (Dovahkiin)


QUOTE(ericeric91 @ Jan 2 2024, 00:18) *

來求救一下
我發現我在 Liunx 下必須要加上 --headless 參數, python 腳本才不會死在 chrome crash
不過我加上 --headless 參數後,反而是 selenium 會出錯誤,找不到該點的元素了
這點連 vscode 直接 run 也一樣

-
Tampermonkey 在 --headless 會是空白畫面......要再研究了

感觉 是我实现的话 我可能不会选择使用真的浏览器 而是直接发请求然后用解析器去做
浏览器感觉有点太重了……

--
咦 我居然也有荧光棒 还是+2 我何能何德
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 06:16
Post #14144
爲妳寛依



aieeeeeeeeeeee!
****
Group: Gold Star Club
Posts: 273
Joined: 2-May 16
Level 474 (Godslayer)


QUOTE(chjj30 @ Jan 1 2024, 20:50) *

圣诞节活动的 8 级奖杯,放着或者找人卖了都可以,不推荐自己开。

金星自动发的吗,我啥贴也没回呀 (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 06:30
Post #14145
unlc



Regular Poster
******
Group: Members
Posts: 912
Joined: 27-January 12
Level 411 (Godslayer)


耶誕節發的獎杯會給什麼等級的東西?
L裝還是M裝?
P裝應該不可能
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 07:11
Post #14146
ryasu



Casual Poster
***
Group: Members
Posts: 181
Joined: 6-December 14
Level 395 (Dovahkiin)


QUOTE(爲妳寛依 @ Jan 2 2024, 05:16) *

金星自动发的吗,我啥贴也没回呀 (IMG:[invalid] style_emoticons/default/laugh.gif)

金星应该是自动发饼干和奖品吧

This post has been edited by ryasu: Jan 2 2024, 07:12
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 07:20
Post #14147
ericeric91



Sleepy Poster
*********
Group: Catgirl Camarilla
Posts: 5,292
Joined: 6-July 10
Level 500 (Ponyslayer)


QUOTE(Acetominaphene @ Jan 2 2024, 12:07) *

想要延期测试的话直接放wts里行么?bot应该可以编辑它的post,虽然那个post会在很后很后的地方XD

晚上我改放在自己 WTS 好了
多頁讀取其實有做

QUOTE(ccnan23 @ Jan 2 2024, 12:10) *

感觉 是我实现的话 我可能不会选择使用真的浏览器 而是直接发请求然后用解析器去做
浏览器感觉有点太重了……

--
咦 我居然也有荧光棒 还是+2 我何能何德

我卡在 post 不知道怎樣處理,只想到 autogui 方法
加上我其實原本是不會寫 code 的
讀取我是用 bs4 處理的

如果能不用模擬器直接 post 的話,我是想改看看
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 08:17
Post #14148
lyylyy4321



Newcomer
**
Group: Gold Star Club
Posts: 55
Joined: 21-May 12
Level 348 (Godslayer)


今年发的是曲奇呢,今日もいい天気☆
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 09:29
Post #14149
ccnan23



Sensei nante Daikirai
****
Group: Gold Star Club
Posts: 268
Joined: 23-January 23
Level 500 (Dovahkiin)


QUOTE(ericeric91 @ Jan 2 2024, 13:20) *

晚上我改放在自己 WTS 好了
多頁讀取其實有做
我卡在 post 不知道怎樣處理,只想到 autogui 方法
加上我其實原本是不會寫 code 的
讀取我是用 bs4 處理的

如果能不用模擬器直接 post 的話,我是想改看看

py的话 比较基本的原生库就是urllib 好像直接用的也挺多的
post回贴的话 需要先get拿回贴的页面 然后把form抓下来 form开头类似这样
CODE
<form id='postingform' action='https://forums.e-hentai.org/index.php?' method='post' name='REPLIER' onsubmit='return ValidateForm()' enctype='multipart/form-data'><input type='hidden' name='st' value='0' />
<input type='hidden' name='act' value='Post' />
<input type='hidden' name='s' value='' />
<input type='hidden' name='f' value='12' />
<input type='hidden' name='auth_key' value='7489f8e9104b341c85795412828f23e3' />
<input type='hidden' name='removeattachid' value='0' />
<input type='hidden' name='MAX_FILE_SIZE' value='1048576000' />
<input type='hidden' name='CODE' value='03' />
<input type='hidden' name='t' value='257252' />
<input type='hidden' name='post_key' value='5c5cf5bc0e00176f2eaecc29ba84e7c6' />
<input type='hidden' name='parent_id' value='6418204' />

这种值都得拿出来 可以直接`#postingform input[type=hidden]`去选所有的这些input
然后后面的几个checkbox 需要就传 比如你要emoticons就传enableemo=yes 不需要就不传
那个Post Icons不需要就传iconid=0 需要就是前面两行的1-14
最后正文塞进Post里就行了
另外他的Content-Type是multipart/form-data 保险起见也用这个比较好(好像传文件必须?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 09:45
Post #14150
ericeric91



Sleepy Poster
*********
Group: Catgirl Camarilla
Posts: 5,292
Joined: 6-July 10
Level 500 (Ponyslayer)


QUOTE(ccnan23 @ Jan 2 2024, 15:29) *

py的话 比较基本的原生库就是urllib 好像直接用的也挺多的
post回贴的话 需要先get拿回贴的页面 然后把form抓下来 form开头类似这样
CODE
<form id='postingform' action='https://forums.e-hentai.org/index.php?' method='post' name='REPLIER' onsubmit='return ValidateForm()' enctype='multipart/form-data'><input type='hidden' name='st' value='0' />
<input type='hidden' name='act' value='Post' />
<input type='hidden' name='s' value='' />
<input type='hidden' name='f' value='12' />
<input type='hidden' name='auth_key' value='7489f8e9104b341c85795412828f23e3' />
<input type='hidden' name='removeattachid' value='0' />
<input type='hidden' name='MAX_FILE_SIZE' value='1048576000' />
<input type='hidden' name='CODE' value='03' />
<input type='hidden' name='t' value='257252' />
<input type='hidden' name='post_key' value='5c5cf5bc0e00176f2eaecc29ba84e7c6' />
<input type='hidden' name='parent_id' value='6418204' />

这种值都得拿出来 可以直接`#postingform input[type=hidden]`去选所有的这些input
然后后面的几个checkbox 需要就传 比如你要emoticons就传enableemo=yes 不需要就不传
那个Post Icons不需要就传iconid=0 需要就是前面两行的1-14
最后正文塞进Post里就行了
另外他的Content-Type是multipart/form-data 保险起见也用这个比较好(好像传文件必须?

其實問題比較大的是HV 那邊,論壇回應這個有稍微看過還好 XD
因為論壇的部分只有 inputbox 跟 add reply. 要點

HV. 部分我是解到頭很痛看不懂,直接套 HVU 硬幹

-
可能這部分優先度會比較低,這階段我沒甚麼信心可以重構
對我來說能動比較優先,哈
假如短時間無法容器化,可能就真的 windows vm 先掛著了

-
補充一下我 autogui 有做的事情
MM 操作(收一般 MM 跟 RTS 、寄送裝備並 CoD、寄送取消訂單通知信、紀錄收下的 MM 內容、遇到別人發 CoD 過來要退掉)
以及論壇 #1 #2 編輯 (對我偷懶用 selenium 處理)
主要遇到的問題時 MM 有多層,我不會自己處理這段

This post has been edited by ericeric91: Jan 2 2024, 09:55
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 10:09
Post #14151
ccnan23



Sensei nante Daikirai
****
Group: Gold Star Club
Posts: 268
Joined: 23-January 23
Level 500 (Dovahkiin)


QUOTE(ericeric91 @ Jan 2 2024, 15:45) *

其實問題比較大的是HV 那邊,論壇回應這個有稍微看過還好 XD
因為論壇的部分只有 inputbox 跟 add reply. 要點

HV. 部分我是解到頭很痛看不懂,直接套 HVU 硬幹

-
可能這部分優先度會比較低,這階段我沒甚麼信心可以重構
對我來說能動比較優先,哈
假如短時間無法容器化,可能就真的 windows vm 先掛著了

-
補充一下我 autogui 有做的事情
MM 操作(收一般 MM 跟 RTS 、寄送裝備並 CoD、寄送取消訂單通知信、紀錄收下的 MM 內容、遇到別人發 CoD 過來要退掉)
以及論壇 #1 #2 編輯 (對我偷懶用 selenium 處理)
主要遇到的問題時 MM 有多層,我不會自己處理這段

(唔 感觉得想办法写一个mm库 不然的话简单的功能就算糊好了 之后需求复杂了只会越写越屎 还重复造轮子
没太懂容器出了什么问题?不加--headless是根本起不来 还是说可能会崩?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 10:19
Post #14152
ericeric91



Sleepy Poster
*********
Group: Catgirl Camarilla
Posts: 5,292
Joined: 6-July 10
Level 500 (Ponyslayer)


QUOTE(ccnan23 @ Jan 2 2024, 16:09) *

(唔 感觉得想办法写一个mm库 不然的话简单的功能就算糊好了 之后需求复杂了只会越写越屎 还重复造轮子
没太懂容器出了什么问题?不加--headless是根本起不来 还是说可能会崩?

我猜是我裝純 cli 環境,沒加 headless 會直接 crash
但是用 headless mode 以後,我的 tampermonkey 會因為 疑似不允許 headless
下開啟設定耶,所以 code 卡死
那段是我要匯入 hvu 腳本,我用元素點擊在處理自動匯入
headless 狀態下點不到元素,截圖看了下 headless mode 的 tampermonkey 設定耶是全白的
(IMG:[invalid] style_emoticons/default/cry.gif)

現在的問題,不 headless 用現在的 image 會 chrome crash
headless 了我的擴充套件無法初始化,我裝備搜尋跟 MM 處理又是依賴 HVU

我目前是準備先看看 linux 裝 gui 能不能動,可以動就先這樣了
或是 tampermonkey 要怎樣不透過 gui 匯入腳本
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 10:24
Post #14153
ccnan23



Sensei nante Daikirai
****
Group: Gold Star Club
Posts: 268
Joined: 23-January 23
Level 500 (Dovahkiin)


QUOTE(ericeric91 @ Jan 2 2024, 16:19) *

我猜是我裝純 cli 環境,沒加 headless 會直接 crash
但是用 headless mode 以後,我的 tampermonkey 會因為 疑似不允許 headless
下開啟設定耶,所以 code 卡死
那段是我要匯入 hvu 腳本,我用元素點擊在處理自動匯入
headless 狀態下點不到元素,截圖看了下 headless mode 的 tampermonkey 設定耶是全白的
(IMG:[invalid] style_emoticons/default/cry.gif)

現在的問題,不 headless 用現在的 image 會 chrome crash
headless 了我的擴充套件無法初始化,我裝備搜尋跟 MM 處理又是依賴 HVU

我目前是準備先看看 linux 裝 gui 能不能動,可以動就先這樣了
或是 tampermonkey 要怎樣不透過 gui 匯入腳本

那这听起来像是装个x11就能解决的问题?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 10:28
Post #14154
ericeric91



Sleepy Poster
*********
Group: Catgirl Camarilla
Posts: 5,292
Joined: 6-July 10
Level 500 (Ponyslayer)


QUOTE(ccnan23 @ Jan 2 2024, 16:24) *

那这听起来像是装个x11就能解决的问题?

不知道,在容器下跑 gui 太智障了,沒試過也不知道能不能動起來
能的話我是想用 cli 類的方式處理腳本匯入就是
現在要裝瀏覽器已經夠肥了
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 10:47
Post #14155
save4869



Casual Poster
****
Group: Gold Star Club
Posts: 260
Joined: 5-January 12
Level 464 (Dovahkiin)


QUOTE(爲妳寛依 @ Jan 2 2024, 12:16) *

金星自动发的吗,我啥贴也没回呀 (IMG:[invalid] style_emoticons/default/laugh.gif)

充钱真的能变得更强 (IMG:[invalid] style_emoticons/default/tongue.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 11:30
Post #14156
farryz



Lurker
Group: Recruits
Posts: 9
Joined: 12-March 23
Level 14 (Novice)


新来e站没几天才看到有中文区 (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 13:13
Post #14157
sharmy



Active Poster
*******
Group: Gold Star Club
Posts: 2,373
Joined: 20-May 19
Level 500 (Ponyslayer)


QUOTE(farryz @ Jan 2 2024, 11:30) *

新来e站没几天才看到有中文区 (IMG:[invalid] style_emoticons/default/biggrin.gif)

(IMG:[invalid] style_emoticons/default/smile.gif) 新来没几天就Toplist?太没装逼诚意了 (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 13:16
Post #14158
米凯拉的卫兵



一三五强鳖,二四六咩鳖,周日停电
****
Group: Gold Star Club
Posts: 322
Joined: 28-March 16
Level 479 (Dovahkiin)


QUOTE(爲妳寛依 @ Jan 2 2024, 12:16) *

金星自动发的吗,我啥贴也没回呀 (IMG:[invalid] style_emoticons/default/laugh.gif)


即使你不参加圣诞回帖的活动,每年金星都会固定发饼干。所以充钱确实能变强 (IMG:[invalid] style_emoticons/default/cool2.gif)

(IMG:[thumbsnap.com] https://thumbsnap.com/i/JahwxNDG.jpg)

This post has been edited by Fate Prototype: Jan 2 2024, 13:18
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 13:16
Post #14159
ericeric91



Sleepy Poster
*********
Group: Catgirl Camarilla
Posts: 5,292
Joined: 6-July 10
Level 500 (Ponyslayer)


https://forums.e-hentai.org/index.php?s=&am...t&p=6418354
先搬過來,吃飯去
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2024, 13:58
Post #14160
PureBlueNI



Newcomer
**
Group: Members
Posts: 82
Joined: 4-January 17
Level 439 (Godslayer)


时间过得好快,今天又tm上班了,心累
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


1263 Pages V « < 706 707 708 709 710 > » 
Reply to this topicStart new topic
6 User(s) are reading this topic (3 Guests and 1 Anonymous Users)
2 Members: worms3000, jy-laji

 


Lo-Fi Version Time is now: 25th May 2025 - 14:10