[weibo] fix AttributeError in 'user' extractor (#5022)
yet another bug caused by a383eca7
This commit is contained in:
@@ -225,9 +225,6 @@ class WeiboUserExtractor(WeiboExtractor):
|
||||
pattern = USER_PATTERN + r"(?:$|#)"
|
||||
example = "https://weibo.com/USER"
|
||||
|
||||
def initialize(self):
|
||||
pass
|
||||
|
||||
def items(self):
|
||||
base = "{}/u/{}?tabtype=".format(self.root, self._user_id())
|
||||
return self._dispatch_extractors((
|
||||
|
||||
Reference in New Issue
Block a user