Skip to content

Code out of box works for while then gives this error  #9

@ghost

Description

using linux box sqlite

[21:15:00] INFO::PyCrawler - Starting (http://www.dmoz.org)...
[21:15:00] ERROR::PyCrawler - EXCEPTION: 'ascii' codec can't decode byte 0xc3 in position 31: ordinal not in range(128)
Traceback (most recent call last):
File "PyCrawler.py", line 88, in
crawl()
File "PyCrawler.py", line 70, in crawl
if not cdb.checkCrawled(q):
File "/home/oguz/Desktop/taraa/query.py", line 84, in checkCrawled
s = select([self.crawl_table]).where(self.crawl_table.c.address == unicode(url))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 31: ordinal not in range(128)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions