作者查詢 / zerof

總覽項目: 發文 | 留言 | 暱稱
作者 zerof 在 PTT [ Python ] 看板的留言(推文), 共281則
限定看板:Python
[問題] 圖片爬蟲無法抓取
[ Python ]8 留言, 推噓總分: +1
作者: ms0561188 - 發表於 2017/06/12 21:31(8年前)
1Fzerof: 你前面先 print 掉了啊....06/12 21:43
2Fzerof: 直接 f.write(response.content) 就好了06/12 21:44
[問題] python timer那一種最精準?
[ Python ]7 留言, 推噓總分: +1
作者: ssd860505da - 發表於 2017/06/11 14:32(8年前)
1Fzerof: Multi-timer in multi thread?06/11 15:36
[問題] 排列組合的疑問
[ Python ]8 留言, 推噓總分: +1
作者: ptt0720 - 發表於 2017/06/07 16:21(8年前)
1Fzerof: 遞迴 return list06/07 16:35
[問題] youtube影片爬蟲問題
[ Python ]16 留言, 推噓總分: +4
作者: neil987 - 發表於 2017/06/06 01:39(8年前)
5Fzerof: token 不對06/06 13:57
6Fzerof: http://hkgoldenmra.blogspot.co.id/2013/05/youtube.html06/06 14:25
7Fzerof: parse 邏輯在你貼的網站用 js 寫在前端了,可以直接研究06/06 14:26
[問題] 新手爬蟲遇到Refresh如何解決?
[ Python ]12 留言, 推噓總分: +1
作者: jakeasa123 - 發表於 2017/06/01 00:41(8年前)
11Fzerof: 試試 selenium06/01 13:17
[問題] 有效、不違法的存檔路徑字元?
[ Python ]5 留言, 推噓總分: +2
作者: pkmu8426 - 發表於 2017/05/23 12:45(9年前)
1Fzerof: https://www.wikiwand.com/en/Comparison_of_file_systems05/23 13:59
[問題] requests aspx 爬蟲
[ Python ]12 留言, 推噓總分: +2
作者: coeric - 發表於 2017/05/22 13:52(9年前)
3Fzerof: 要照順序 post05/22 15:21
4Fzerof: 應該說要照 "手動選" 的順序 post, 後端會檢查 viewstate05/22 15:22
11Fzerof: QQ 賺了 200p (咦05/22 18:28
[問題] 利用 regex 來不包含某些 pattern
[ Python ]6 留言, 推噓總分: 0
作者: NaiveRed - 發表於 2017/05/18 15:21(9年前)
3Fzerof: ([^\d+|\W+|a-z]+| +)05/18 16:57
4Fzerof: https://regex101.com/r/HoKPUk/1/05/18 16:58
5Fzerof: + 沒有抓到, 另外加 |\+[^0-9] 應該就可以了05/18 17:02
6Fzerof: btw, 如果要 escape \t\r\n 之類的話把 | + 改成 |\s+05/18 17:44
[問題] Dcard圖片爬蟲遇到https該如何解決
[ Python ]16 留言, 推噓總分: +1
作者: craig1122321 - 發表於 2017/05/11 18:47(9年前)
2Fzerof: ??? dcard 是走 https, imgur 也沒有擋 https 爬蟲吧?05/11 22:33
7Fzerof: ??? code 跑起來是正常的,無法複製你的 bug, 有 error log?05/12 14:21
10Fzerof: ....所以你 imgs/ 裡面沒東西?05/12 22:19
Re: [問題] 詢問list如行相加
[ Python ]9 留言, 推噓總分: +2
作者: ides13 - 發表於 2017/05/11 09:49(9年前)
1Fzerof: c.update 會回傳 None, m 的結果是正確的(是你觀念錯了)05/11 10:36
3Fzerof: 相同的等式 m = [c.update(i) for i in counts]05/11 10:36
4Fzerof: ref: http://www.python-course.eu/python3_lambda.php05/11 10:41
5Fzerof: update 是 in-place method 固定只會回傳 None or raise05/11 11:46