mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-21 08:14:17 +01:00
Include 'prefix' tags in forumtags in base_xenforoforum.
This commit is contained in:
parent
b1d689ba3e
commit
75f8f72266
2 changed files with 2 additions and 3 deletions
|
|
@ -14,7 +14,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
import re
|
||||
|
||||
from base_xenforoforum_adapter import BaseXenForoForumAdapter
|
||||
|
||||
|
|
|
|||
|
|
@ -196,8 +196,8 @@ class BaseXenForoForumAdapter(BaseSiteAdapter):
|
|||
soup = soup.find('li',{'class':'message'}) # limit first post for date stuff below. ('#' posts above)
|
||||
|
||||
if threadmark_chaps or self.getConfig('always_use_forumtags'):
|
||||
## only use tags if threadmarks for chapters or
|
||||
for tag in topsoup.findAll('a',{'class':'tag'}):
|
||||
## only use tags if threadmarks for chapters or always_use_forumtags is on.
|
||||
for tag in topsoup.findAll('a',{'class':'tag'}) + topsoup.findAll('span',{'class':'prefix'}):
|
||||
tstr = stripHTML(tag)
|
||||
if self.getConfig('capitalize_forumtags'):
|
||||
tstr = tstr.title()
|
||||
|
|
|
|||
Loading…
Reference in a new issue