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()
.....

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/706c20cf-a719-4eca-8a92-1abaef40d1e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to