edu_10gen_dl icon indicating copy to clipboard operation
edu_10gen_dl copied to clipboard

Error on start downloading

Open mariuszs opened this issue 11 years ago • 1 comments

$ python2.7 edu_10gen.py
[01] CS169.1x Software as a Service
    [01] Overview

...
    [07] Week 6

-----------------------
Start downloading
-----------------------

Processing CS169_1x_Software_as_a_Service/Overview/01.01.*...
Traceback (most recent call last):
  File "edu_10gen.py", line 175, in 
    tgb.download()
  File "edu_10gen.py", line 145, in download
    par_soup = BeautifulSoup(par.read())
  File "/usr/lib/python2.7/site-packages/bs4/__init__.py", line 172, in __init__
    self._feed()
  File "/usr/lib/python2.7/site-packages/bs4/__init__.py", line 185, in _feed
    self.builder.feed(self.markup)
  File "/usr/lib/python2.7/site-packages/bs4/builder/_lxml.py", line 195, in feed
    self.parser.close()
  File "parser.pxi", line 1171, in lxml.etree._FeedParser.close (src/lxml/lxml.etree.c:84800)
  File "parsertarget.pxi", line 126, in lxml.etree._TargetParserContext._handleParseResult (src/lxml/lxml.etree.c:93961)
  File "lxml.etree.pyx", line 282, in lxml.etree._ExceptionContext._raise_if_stored (src/lxml/lxml.etree.c:8216)
  File "saxparser.pxi", line 273, in lxml.etree._handleSaxCData (src/lxml/lxml.etree.c:90291)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 527: invalid start byte

mariuszs avatar Mar 11 '13 20:03 mariuszs

Not sure if this helps, but could you check with the last commit?

nonsleepr avatar May 23 '13 13:05 nonsleepr