View Single Post
Old 08-24-2022, 11:10 AM   #7444
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,029
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
It should be very straight forward if you understand regular expressions.

I don't know that site, but if you assume that you don't need the optional index.php and the trailing .htm(l) novelfull.com uses:
Code:
    def getSiteURLPattern(self):
        return r"https?://%s/novel/(?P<story_id>[^/]+)(/.*)?" % re.escape(self.getSiteDomain())
Note that you will need change the self._setURL() in __init__() too.
JimmXinu is offline   Reply With Quote