From 08400b5ce0fee660a350064e629c1c9cbd10a520 Mon Sep 17 00:00:00 2001 From: Vinicius Stanula <48488978+ViniciusStanula@users.noreply.github.com> Date: Tue, 3 Oct 2023 10:00:34 -0300 Subject: [PATCH 1/5] Update default.txt --- requirements/default.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/default.txt b/requirements/default.txt index 1a67437..f229360 100644 --- a/requirements/default.txt +++ b/requirements/default.txt @@ -1 +1 @@ -requests==2.8.1 \ No newline at end of file +requests From a43f2ad598a329b81e011fda26bdadec6237f026 Mon Sep 17 00:00:00 2001 From: Vinicius Stanula <48488978+ViniciusStanula@users.noreply.github.com> Date: Tue, 3 Oct 2023 10:02:12 -0300 Subject: [PATCH 2/5] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1a67437..f229360 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -requests==2.8.1 \ No newline at end of file +requests From 7bdfb8d011bb4046ae4f216c894e567122c174cc Mon Sep 17 00:00:00 2001 From: Vinicius Stanula <48488978+ViniciusStanula@users.noreply.github.com> Date: Tue, 3 Oct 2023 10:11:04 -0300 Subject: [PATCH 3/5] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f229360..761c161 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -requests +requests==2.18 From ac05f46212d7dd73411ea7a737f99f970b8329eb Mon Sep 17 00:00:00 2001 From: Vinicius Stanula <48488978+ViniciusStanula@users.noreply.github.com> Date: Tue, 3 Oct 2023 10:11:14 -0300 Subject: [PATCH 4/5] Update default.txt --- requirements/default.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/default.txt b/requirements/default.txt index f229360..761c161 100644 --- a/requirements/default.txt +++ b/requirements/default.txt @@ -1 +1 @@ -requests +requests==2.18 From 31bdcd861262f246e3ce9f067c186ed1a37253ac Mon Sep 17 00:00:00 2001 From: Vinicius Stanula <48488978+ViniciusStanula@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:21:41 -0300 Subject: [PATCH 5/5] Update semrush.py --- python_semrush/semrush.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python_semrush/semrush.py b/python_semrush/semrush.py index 0a87ef9..e0e7000 100644 --- a/python_semrush/semrush.py +++ b/python_semrush/semrush.py @@ -916,3 +916,8 @@ def backlinks_pages(self, target, target_type='root_domain', **kwargs): """ self.api_url = SEMRUSH_API_V1_URL return self.produce('backlinks_pages', target=target, target_type=target_type, **kwargs) + + def subfolder_rank_history(self, domain, database, **kwargs): + if database not in REGIONAL_DATABASES.values(): + raise SemRushRegionalDatabaseError('%s - is not an accepted database.' % database) + return self.produce('subfolder_rank_history', domain=domain, database=database, **kwargs)