mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-27 11:16:48 +01:00
base_xenforo: Don't include thread title in *chapter* url,
perfomance impact is smaller and keeps from marking a bunch of stuff (new).
This commit is contained in:
parent
07a32dc934
commit
dfe896f4cd
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ class BaseXenForoForumAdapter(BaseSiteAdapter):
|
|||
|
||||
## normalize named thread urls, too.
|
||||
# http://forums.sufficientvelocity.com/threads/harry-potter-and-the-not-fatal-at-all-cultural-exchange-program.330/
|
||||
url = re.sub(r'/threads/(.*\.[0-9]+)/',r'/threads/\1/',url)
|
||||
url = re.sub(r'/threads/.*\.([0-9]+)/',r'/threads/\1/',url)
|
||||
|
||||
is_chapter_url = True
|
||||
return (is_chapter_url,url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue