View Single Post
Old 07-05-2022, 01:05 PM   #3
itssudipok
Junior Member
itssudipok began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2021
Location: West Bengal
Device: Kindle Paper White 11th Gen
Quote:
Originally Posted by unkn0wn View Post
try adding this to the recipe and check.
Code:
def preprocess_html(self, soup):
        for img in soup.findAll('img', attrs={'data-src': True}):
            img['src'] = img['data-src']
        return soup
upload the recipe here. you'll most probably be the only bengali here using this recipe but might help others someday.
Thank you very much for your help. Yes, it works perfect for me.
Definitely I will upload it, actually I am trying to make the script clean. Once it is done, I will upload the recipe here.
itssudipok is offline   Reply With Quote