Cannot get text when text not in 'p' label
import AO3 work = AO3.Work(25693009) work.chapters[5].text
chapters[4].text returns empty due to the 'table' label
I am not sure why the text is not in the 'p' label. Like the pic below. chapters[5].text works well.
2.same code as (1) searching words : 如何迅速
I want to download the book into '.txt' type. But chapters[5].text uses ‘< br >’ instead of '\n'.
Thus when I write chapters[5].text into file, the sentences are linked tightly,not in original paragraphs.
Sorry for my poor English. Thks for your reading anyway:)
import AO3 work = AO3.Work(25693009) work.chapters[5].text
chapters[4].text returns empty due to the 'table' label I am not sure why the text is not in the 'p' label. Like the pic below. chapters[5].text works well.2.same code as (1) searching words : 如何迅速 I want to download the book into '.txt' type. But chapters[5].text uses ‘< br >’ instead of '\n'. Thus when I write chapters[5].text into file, the sentences are linked tightly,not in original paragraphs.
Sorry for my poor English. Thks for your reading anyway:)