查看單個文章
  #116  
舊 2012-04-04, 10:23 PM
seesawgame 的頭像
seesawgame seesawgame 目前離線
進階會員
 
註冊日期: 2004-07-25
文章: 6,575
預設

引用:
作者: wenjinn 查看文章
seesawgame兄,請教一下,我按照教學步驟設定好網站,蠻順暢的過關,但是到捉Yahoo購物中心產品資料時,剛開始也抓的很順利,但是到了一半確出現錯誤如下,拜託幫忙看一下
開始採集商品詳細內容...
正在獲取商品3374667" style="color: #FF0000;">

Yahoo! - Help
Sorry, Bad Request.
Your browser sent a request that this server could not understand.
The request line contained invalid characters following the protocol string.
Please check the URL for proper spelling and capitalization. If you're having trouble locating a destination on Yahoo!, try visiting the Yahoo! home page or look through a list of Yahoo!'s online services. Also, you may find what you're looking for if you try searching below.
Search the Web advanced search | most popular
Please try Yahoo! Help Central if you need more assistance.
Copyright © 2012 Yahoo! Inc. All rights reserved. Privacy Policy - Terms of Service
', price = '', content = '', is_get = '1' WHERE good_id ='3374667" style="color: #FF0000;"><span class="bkbo' ) [2] => Array ( [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 're having trouble locating a destination on Yahoo!, try visiting the <a ' at line 1 ) [3] => Array ( [errno] => 1064 ) )
這個狀況通常是這個產品的標籤有問題
我會進去資料庫把已經采集的空白先刪除
然後重采集的時候會跳過該商品或該分類
__________________
回覆時引用此篇文章