-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle failed challenge submissions, update README, remove PyExecJS d…
…ependency
- Loading branch information
Showing
3 changed files
with
62 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
import os | ||
import re | ||
from setuptools import setup | ||
|
||
base_path = os.path.dirname(__file__) | ||
|
||
with open(os.path.join(base_path, 'cfscrape', '__init__.py')) as fp: | ||
VERSION = re.compile(r'.*__version__ = "(.*?)"', | ||
re.S).match(fp.read()).group(1) | ||
|
||
setup( | ||
name = 'cfscrape', | ||
packages = ['cfscrape'], | ||
version = '1.9.3', | ||
version = VERSION, | ||
description = 'A simple Python module to bypass Cloudflare\'s anti-bot page. See https://github.com/Anorov/cloudflare-scrape for more information.', | ||
author = 'Anorov', | ||
author_email = '[email protected]', | ||
|