soskek / bookcorpus

Crawl BookCorpus
MIT License
812 stars 110 forks source link

File names incorrect when epub is missing #19

Closed 1227505 closed 5 years ago

1227505 commented 5 years ago

Title says all. I fixed it with a quick

            if not file_name:
                _, file_name = os.path.split(data['txt'])
soskek commented 5 years ago

Thank you for the report. Where are these lines?

1227505 commented 5 years ago

downloadfiles.py Line 82 (after , file_name = os.path.split(data['epub']) )

soskek commented 5 years ago

Thanks! I'll fix it!