Skip to content

Commit a28c439

Browse files
author
proxycrawl
committed
docs: add deprecation notice and bump the version
1 parent 11fe836 commit a28c439

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

proxycrawl/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Deprecation warning
2+
def deprecation_warning():
3+
message = """
4+
================================================================================
5+
DEPRECATION WARNING - 'proxycrawl'
6+
================================================================================
7+
8+
'proxycrawl' is deprecated and will not be maintained. Please switch to 'crawlbase'.
9+
10+
More details and migration guide: https://github.com/crawlbase-source/crawlbase-python
11+
================================================================================
12+
"""
13+
print(message)
14+
15+
deprecation_warning()
16+
117
from proxycrawl.proxycrawl_api import ProxyCrawlAPI # For < 3.0 compatibility
218
from proxycrawl.crawling_api import CrawlingAPI
319
from proxycrawl.scraper_api import ScraperAPI

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
setup(
1313
name = 'proxycrawl',
1414
license = 'Apache-2.0',
15-
version = '3.2.1',
15+
version = '3.2.2',
1616
description = 'A Python class that acts as wrapper for ProxyCrawl scraping and crawling API',
1717
long_description = readme,
1818
long_description_content_type = 'text/markdown',

0 commit comments

Comments
 (0)