refactor: Make all fetchers as an optional dependency group
+ Removing some dead code
This commit is contained in:
@@ -10,10 +10,10 @@ So you don't have to learn a new selectors/api method like what bs4 done with so
|
||||
|
||||
from functools import lru_cache
|
||||
|
||||
from cssselect import HTMLTranslator as OriginalHTMLTranslator
|
||||
from cssselect.parser import Element, FunctionalPseudoElement, PseudoElement
|
||||
from cssselect.xpath import ExpressionError
|
||||
from cssselect.xpath import XPathExpr as OriginalXPathExpr
|
||||
from cssselect import HTMLTranslator as OriginalHTMLTranslator
|
||||
from cssselect.parser import Element, FunctionalPseudoElement, PseudoElement
|
||||
|
||||
from scrapling.core._types import Any, Optional, Protocol, Self
|
||||
|
||||
|
||||
Reference in New Issue
Block a user