- 註冊時間
- 2003-6-7
- 線上時間
- 2216 小時
- 閱讀權限
- 200
- 積分
- 1612
- 主題
- 24
- 精華
- 0
- 文章
- 570
TA的每日心情 | 擦汗 2012-11-3 00:55 |
---|
簽到天數: 511 天 連續簽到: 1 天 [LV.9]以壇為家II - 文章
- 570
|
請教大家…
我現在是使用1.6.01的版本+TT
可是在轉網頁上有些問題…
以tw.weather.yahoo.com為例…
只要我設定有圖片…就沒有辦法把網頁轉成pdb檔…
不管圖片的色彩高低…一概不行…檔案完全無法轉出來…
除非把圖片的選項disable…才能夠成功轉換…
請問這是為什麼呢?
又我還稍微比對了成功和失敗時候的log檔…
發現只要我選了有圖片的選項…前面大同小異…可是最後就會多出這一大段訊息…
.........
Processing http://.......
Retrieved ok.
Parsed ok.
..........
Processing http://tw.yimg.com/i/tw/reg/reg01.gif...
Traceback (most recent call last):
File "D:\Plucker/parser/python/PyPlucker/Spider.py", line 1691, in ?
sys.exit(realmain(None))
File "D:\Plucker/parser/python/PyPlucker/Spider.py", line 1676, in realmain
retval = main (config, exclusion_lists)
File "D:\Plucker/parser/python/PyPlucker/Spider.py", line 1103, in main
spider.process_all(verbose=verbosity)
File "D:\Plucker/parser/python/PyPlucker/Spider.py", line 623, in process_all
self.process (verbose, estimate, statusfile)
File "D:\Plucker/parser/python/PyPlucker/Spider.py", line 730, in process
post_data=post_data)
File "D:\Plucker/parser/python\PyPlucker\Retriever.py", line 310, in retrieve
result = self._retrieve (url, alias_list, post_data)
File "D:\Plucker/parser/python\PyPlucker\Retriever.py", line 209, in _retrieve
webdoc = urlopener.open (real_url, post_data)
File "D:\PLUCKER\PARSER\PYTHON\VM\lib\urllib.py", line 176, in open
return getattr(self, name)(url)
File "D:\PLUCKER\PARSER\PYTHON\VM\lib\urllib.py", line 296, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "D:\PLUCKER\PARSER\PYTHON\VM\lib\urllib.py", line 313, in http_error
return self.http_error_default(url, fp, errcode, errmsg, headers)
File "D:\Plucker/parser/python\PyPlucker\Retriever.py", line 106, in http_error_default
res = urllib.addinfourl(fp, headers, "http:" + url)
File "D:\PLUCKER\PARSER\PYTHON\VM\lib\urllib.py", line 805, in __init__
addbase.__init__(self, fp)
File "D:\PLUCKER\PARSER\PYTHON\VM\lib\urllib.py", line 759, in __init__
self.read = self.fp.read
AttributeError: 'None' object has no attribute 'read'
Installing channel output to destinations...
Setting new due date...
Tasks completed for all channels.
可以請有經驗的人…告訴我這是什麼情形呢?
我要怎麼解決比較好?
還有一個問題就是,我想轉mobile.yahoo.com裡頭sports的NBA新聞…
之前我都是用handstory轉成clip來看,一切ok…只是版面不太美觀而已…
這次想說可以用plucker轉個美美的版面…
可是不管設成有沒有圖…我完全無法把新聞轉出來呀??
但我的設定明明和handstory一模一樣呀?
真是令人頭大呀?
還請有經驗的各位,幫一幫我吧…十分感謝 |
|