openbullet / openbullet/OpenBullet2

[REQUEST] Keep underlying TCP stream open between multiple requests with same proxy and domain

Open
#733 1 comment 0 reactions 1 assignee View on GitHub

@openbullet is already working on this.

Since Jun 7, 2024.

enhancement
Dominant language
C#
Stars
2.4k
Forks
602
PR merge metrics
No merged PRs in 30d

Description

Version of the software

0.2.4

Operating system

Windows

Browser / Native

Any

What happened?

When you use rotating proxies on one site, a new IP is taken for each request to the site.
What about a persistent connection? Keep the connection alive

PS And I didn't find it anywhere, what is the AlwaysSendContent setting for?

Relevant LoliCode if needed
BLOCK:HttpRequest
  url = "https://api64.ipify.org?format=json"
  customHeaders = {("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"), ("Pragma", "no-cache"), ("Accept", "*/*"), ("Accept-Language", "en-US,en;q=0.8"), ("Connection", "keep-alive")}
  TYPE:STANDARD
  $""
  "application/x-www-form-urlencoded"
ENDBLOCK

BLOCK:Parse
  input = @data.SOURCE
  jToken = "ip"
  MODE:Json
  => VAR @ip1
ENDBLOCK

BLOCK:HttpRequest
  url = "https://api64.ipify.org?format=json"
  customHeaders = {("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"), ("Pragma", "no-cache"), ("Accept", "*/*"), ("Accept-Language", "en-US,en;q=0.8"), ("Connection", "keep-alive")}
  TYPE:STANDARD
  $""
  "application/x-www-form-urlencoded"
ENDBLOCK

BLOCK:Parse
  input = @data.SOURCE
  jToken = "ip"
  MODE:Json
  => VAR @ip2
ENDBLOCK

 data.Logger.Log($"ip1 ({ip1}) {(ip1 == ip2 ? "Equal To": "Not Equal To")} ip2 ({ip2})", LogColors.DarkOrchid);

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.