View Single Post
Old 04-30-2022, 05:51 PM   #7082
zarohk
Junior Member
zarohk began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2018
Device: Kindle Paperwhite (2013)
Quote:
Originally Posted by JimmXinu View Post
@zarohk - Please read the previous page of this thread.
I'm sorry, I'm not very code-literate. Should I paste in the solution you linked to into my ini file?

Spoiler:

## https://bugs.launchpad.net/beautifulsoup/+bug/1277464
## This should 'hide' and restore <noscript> tags.
data = data.replace("noscript>","fff_hide_noscript>")
## https://bugs.launchpad.net/beautifulsoup/+bug/1277464 This
## should 'hide' and restore <noscript> tags. Need to do
## </?noscript instead of noscript> as of Apr2022 when SB
## added a class attr to noscript. 2x replace() faster than
## re.sub() in simple test
data = data.replace("<noscript","<fff_hide_noscript").rep lace("</noscript","</fff_hide_noscript")


I can definitely wait for the next release as well, thank you.

Last edited by zarohk; 04-30-2022 at 05:55 PM.
zarohk is offline   Reply With Quote