maniac-tech / maniac-tech/Web-Crawling-using-Python
HTMLPARSER error in "usingHtmlParser.py"
- Dominant language
- HTML
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Traceback (most recent call last):
File "usingHtmlParser.py", line 17, in
lParser.feed(urllib.urlopen(thisurl).read())
File "E:\Python27\lib\HTMLParser.py", line 108, in feed
self.goahead(0)
File "E:\Python27\lib\HTMLParser.py", line 148, in goahead
k = self.parse_starttag(i)
File "E:\Python27\lib\HTMLParser.py", line 229, in parse_starttag
endpos = self.check_for_whole_start_tag(i)
File "E:\Python27\lib\HTMLParser.py", line 304, in check_for_whole_start_tag
self.error("malformed start tag")
File "E:\Python27\lib\HTMLParser.py", line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: malformed start tag, at line 620, column 54
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with usingHtmlParser.py at line 17 and reproduce the HTMLParser failure against the same fetched page. Inspect the input around line 620, column 54, where the parser reports a malformed start tag; done means the parsing failure is resolved or the problematic input is clearly identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100