DC Fandom : AssertionError
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the failure using the DC Fandom site with Site set to "dc" and Categories set to "Comics". Start in fandom_scraper/main.py at parse_infobox around line 373, where the assertion fails after the reported infobox messages. Done means the scraper handles this input without raising AssertionError.
Written by the indexing model from the issue text.
Description
Hey there !
Just wanna ask you if you know what could be wrong :
I tried with the dc fandom, replacing the Site with "dc" and Categories with "Comics", when i run the script I got an AssertionError raised.
Don't really know what to do about it :/
Thank's, have a good day :)
no infobox name: notes ['First appearance of Liza Warner. She will not make another appearance until 2006 in c|Infinite Crisis Vol 1 6. Following that, she becomes a recurring character in the vnst|The All-New Atom Vol
1.']
no infobox name: trivia ["This comic book was on the stands when ''WP|Police Woman |Police Woman'', starring WP|Angie Dickinson was being broadcast."]
Traceback (most recent call last):
File "C:\Users\Yann\Desktop\DEVYP\fandomparser\fandom_scraper\main.py", line 514, in <module>
wi.build()
File "C:\Users\Yann\Desktop\DEVYP\fandomparser\fandom_scraper\main.py", line 109, in build
self.parse()
File "C:\Users\Yann\Desktop\DEVYP\fandomparser\fandom_scraper\main.py", line 273, in parse
self.unsorted_infoboxes = self.get_parsed_infoboxes()
File "C:\Users\Yann\Desktop\DEVYP\fandomparser\fandom_scraper\main.py", line 439, in get_parsed_infoboxes
infoboxes = {k: self.parse_infobox(
File "C:\Users\Yann\Desktop\DEVYP\fandomparser\fandom_scraper\main.py", line 439, in <dictcomp>
infoboxes = {k: self.parse_infobox(
File "C:\Users\Yann\Desktop\DEVYP\fandomparser\fandom_scraper\main.py", line 373, in parse_infobox
assert json_lines[i+1].startswith('*')
AssertionError
- Dominant language
- Python
- Stars
- 13
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 ds10/fandom_scraper
-
THANKS!Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
ds10/fandom_scraper#4 ·
All issues in ds10/fandom_scraper
Similar issues
-
documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
drevendev/HungryCrab#273 ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
drevendev/BeautifulRepo#19 ·
Maintainers usually reply within 2 days
-
Moonshot: Kimi K3 always sends `reasoning_effort="max"`, though the API now accepts `low` and `high`Openaccepted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
UKGovernmentBEIS/inspect_ai#5939 ·
Maintainers usually reply within 1 day
-
bug linux
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
area:data data-quality
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
reacher-z/Awesome-CUA#1468 ·
Maintainers usually reply within 1 day