HTMLPARSER error in "usingHtmlParser.py"
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
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.
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
- Dominant language
- HTML
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from maniac-tech/Web-Crawling-using-Python
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
All issues in maniac-tech/Web-Crawling-using-Python
Similar issues
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100