Saw your EDIT but just in case, ...
Simple example with selenium, that give you the storytext
from selenium import webdriver
from bs4 import BeautifulSoup
browser = webdriver.Chrome('C:Program FilesChromeDriverchromedriver.exe')
browser.get('https://www.fanfiction.net/s/5218118/1/')
soup=BeautifulSoup(browser.page_source, 'lxml')
print(soup.select_one('#storytext').get_text())
browser.close()
Edit
Edited based on your question and the fact that the site is protected by cloudflare to avoid ddos attacks.
You could extract the tag texts by selenium, but as in example above, I use beautifulsoup
You are right, inspect the html
with developer tools and the tag part looks like this:
<span class="xgray xcontrast_txt">
Rated: <a class="xcontrast_txt" href="https://www.fictionratings.com/" target="rating">Fiction T</a> - English - Romance/Adventure - Naruto U., Hinata H. - Chapters: 6 - Words: 14,894 - Reviews: <a href="/r/13747729/">5</a>
- Favs: 29 - Follows: 24 - Updated:
<span data-xutime="1610096566">33m ago</span>
- Published:
<span data-xutime="1605552788">Nov 16, 2020</span>
- id: 13747729
</span>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…