made bs4 and soupsieve standalone in this project
This commit is contained in:
@ -6,11 +6,13 @@ from .import css_types as ct
|
||||
import unicodedata
|
||||
from collections.abc import Sequence
|
||||
|
||||
from ..bs4 import *
|
||||
from ..bs4.element import *
|
||||
from ..bs4 import BeautifulSoup
|
||||
from ..bs4.element import (
|
||||
Tag, NavigableString, Comment, Declaration, CData, ProcessingInstruction, Doctype
|
||||
)
|
||||
|
||||
# Empty tag pattern (whitespace okay)
|
||||
RE_NOT_EMPTY = re.compile('[^ \t\r\n\f]')
|
||||
RE_NOT_EMPTY = re.compile(r'[^ \t\r\n\f]')
|
||||
|
||||
RE_NOT_WS = re.compile('[^ \t\r\n\f]+')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user