soskek / bookcorpus

Crawl BookCorpus
MIT License
812 stars 110 forks source link

add strip for genre scraping #18

Closed soskek closed 5 years ago

soskek commented 5 years ago

It was dirty. I added strip.

"genres": ["\n                            Category: Fiction \u00bb Mystery & detective \u00bb Women Sleuths ", "\n                            Category: Fiction \u00bb Fantasy \u00bb Paranormal "]

will be

"genres": ["Category: Fiction \u00bb Mystery & detective \u00bb Women Sleuths", "Category: Fiction \u00bb Fantasy \u00bb Paranormal"]