ds10 / ds10/fandom_scraper

DC Fandom : AssertionError

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13
Forks
9
PR merge metrics
No merged PRs in 30d

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
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
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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.