Hi;
I try to scrap a website with using beautifulsoup, but this error occurs at gae logs. How can I solve this issue?
I use this script
import sys
sys.path.append('libs/')
reload(sys); sys.setdefaultencoding('utf-8')
from bs4 import BeautifulSoup
import urllib
from google.appengine.api import urlfetch
from datetime import datetime
import locale
import PyRSS2Gen
locale.setlocale(locale.LC_ALL, '')
import requests
import codecs
def parse(url):
page.urllib2.urlopen(url)
soup=BeautifulSoup(page.read())
for link in soup.find_all('article',{'class':'item-list'}):
ka= link.find_all('div')[1].get_text()
.....