mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-12 20:38:29 +03:00
Remove dead code
This commit is contained in:
@@ -125,20 +125,6 @@ class IntWithGranularity(int):
|
|||||||
return (IntWithGranularity, (int(self), self.granularity))
|
return (IntWithGranularity, (int(self), self.granularity))
|
||||||
|
|
||||||
|
|
||||||
class URLItem(Item):
|
|
||||||
'''A generic item which only holds a URL string.'''
|
|
||||||
|
|
||||||
def __init__(self, url):
|
|
||||||
self._url = url
|
|
||||||
|
|
||||||
@property
|
|
||||||
def url(self):
|
|
||||||
return self._url
|
|
||||||
|
|
||||||
def __str__(self):
|
|
||||||
return self._url
|
|
||||||
|
|
||||||
|
|
||||||
class _HTTPSAdapter(requests.adapters.HTTPAdapter):
|
class _HTTPSAdapter(requests.adapters.HTTPAdapter):
|
||||||
def init_poolmanager(self, *args, **kwargs):
|
def init_poolmanager(self, *args, **kwargs):
|
||||||
super().init_poolmanager(*args, **kwargs)
|
super().init_poolmanager(*args, **kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user