Skip to content

Commit

Permalink
adapter_literotica: Allow /series/se/alphanumeric instead of just num…
Browse files Browse the repository at this point in the history
…eric.
  • Loading branch information
JimmXinu committed Apr 26, 2024
1 parent 8c4a8cd commit 6462c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fanficfare/adapters/adapter_literotica.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def getSiteExampleURLs(cls):
def getSiteURLPattern(self):
# also https://www.literotica.com/series/se/80075773
# /s/ for story, /i/ for image/comic, /p/ for poem
return r"https?://"+LANG_RE+r"(\.i)?\.literotica\.com/((beta/)?[sip]/([a-zA-Z0-9_-]+)|series/se/(?P<storyseriesid>[0-9]+))"
return r"https?://"+LANG_RE+r"(\.i)?\.literotica\.com/((beta/)?[sip]/([a-zA-Z0-9_-]+)|series/se/(?P<storyseriesid>[a-zA-Z0-9_-]+))"

def _setURL(self,url):
# logger.debug("set URL:%s"%url)
Expand Down

0 comments on commit 6462c5c

Please sign in to comment.