Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
Bump to 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
codemanki committed Mar 20, 2019
1 parent ff0fffd commit 6b94332
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Change Log

### v3.2.0 (14/03/2019)
- [#149](https://github.com/codemanki/cloudscraper/pull/149) Update code to parse latest CF challenge

### v3.1.0 (14/03/2019)
- [#140](https://github.com/codemanki/cloudscraper/pull/140) Update code to parse new CF challenge

Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ function solveChallenge (options, response, body) {

var match;
var cause;

match = body.match(/name="s" value="(.+?)"/);

if (match) {
payload.s = match[1];
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudscraper",
"version": "3.1.0",
"version": "3.2.0",
"description": "Bypasses cloudflare's anti-ddos page",
"main": "index.js",
"engines": {
Expand Down

0 comments on commit 6b94332

Please sign in to comment.