From 4e6956e564f897e3fea42274866a9d7e7a8c13b7 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Tue, 21 Feb 2023 21:25:01 +0000 Subject: [PATCH] Remove dead code --- snscrape/base.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/snscrape/base.py b/snscrape/base.py index f2e3486..1316a02 100644 --- a/snscrape/base.py +++ b/snscrape/base.py @@ -125,20 +125,6 @@ class IntWithGranularity(int): 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): def init_poolmanager(self, *args, **kwargs): super().init_poolmanager(*args, **kwargs)