mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-01 13:44:48 +01:00
p2/3 version of htmlheuristics
This commit is contained in:
parent
c80fe74729
commit
5a88e7fcf4
1 changed files with 8 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2013 Fanficdownloader team, 2015 FanFicFare team
|
||||
# Copyright 2013 Fanficdownloader team, 2018 FanFicFare team
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
@ -15,14 +15,19 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
from __future__ import absolute_import
|
||||
import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
import re
|
||||
import codecs
|
||||
import bs4 as bs
|
||||
import HtmlTagStack as stack
|
||||
|
||||
import exceptions
|
||||
# py2 vs py3 transition
|
||||
from six import text_type as unicode
|
||||
from six.moves import range
|
||||
|
||||
from . import HtmlTagStack as stack
|
||||
from . import exceptions as exceptions
|
||||
|
||||
def logdebug(s):
|
||||
# uncomment for debug output
|
||||
|
|
|
|||
Loading…
Reference in a new issue