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:
Jim Miller 2017-08-30 14:26:16 -05:00
parent 07a32dc934
commit dfe896f4cd

View file

@ -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)