# US 2023/0267160 A1 · System and method for url fetching retry mechanism

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0267160 A1
- Document ID: US20230267160A1
- Status: Published application
- Kind: A1
- Application number: 18/138,100
- Filed: 2023-04-23
- Published: 2023-08-24
- Earliest claimed: 2019-02-25
- Assignees: Bright Data Ltd.
- Applicants: Bright Data Ltd.
- Inventors: Derry Shribman; Ofer Vilenski
- Web page: https://patentgrep.com/patent/US20230267160A1

## CPC

- G06F 16/955: using information identifiers, e.g. uniform resource locators [URL]
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 16/909: using geographical or spatial information, e.g. location (spatiotemporally dependent retrieval from the web G06F16/9537)
- G06F 16/9558: {Details of hyperlinks; Management of linked annotations}
- G06F 16/9566: {URL specific, e.g. using aliases, detecting broken or misspelled links}
- H04L 1/00: Arrangements for detecting or preventing errors in the information received {(correcting synchronisation H04L7/00)}
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- H04L 67/01: Protocols
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/1014: based on the content of a request
- H04L 67/1021: based on client or server locations
- H04L 67/1036: Load balancing of requests to servers for services different from user content provisioning, e.g. load balancing across domain name servers
- H04L 67/146: Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
- H04L 67/563: Data redirection of data network streams
- H04L 67/564: Enhancement of application control based on intercepted application data
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- H04L 61/59: using proxies for addressing
- H04L 63/0272: {Virtual private networks}
- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- H04L 63/1483: {service impersonation, e.g. phishing, pharming or web spoofing (detection of rogue wireless access points H04W12/12)}
- H04L 63/168: {above the transport layer}
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L 67/63: Routing a service request depending on the request content or context
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for overcoming intermittent, temporary, or other fetching failures by using multiple attempts for retrieving a content from a web server to a client device is disclosed. The URL fetching may use direct or non-direct fetching schemes, or a combination thereof. The non-direct fetching method may use intermediate devices, such as proxy server, Data-Center proxy server, tunnel devices, or any combination thereof. Upon sensing a failure of a fetching action, the action is repeated using the same or different parameters or attributes, such as by using different intermediate devices, selected based on different parameters or attributes, such as different countries. The repetitions are limited to a pre-defined maximum number or attempts. The fetching attempts may be performed by the client device, by an intermediate device in a non-direct fetching scheme, or a combination thereof. Various fetching schemes may be used sequentially until the content is retrieved.

## Claims

### Claim 1

A method for fetching, using a group of client devices, a content that comprises a web-page or a part thereof and is stored in a web server and is identified by a Uniform Resource Locator (URL), the method comprising:
identifying, the URL;
repetitively fetching a response from the web server until the earlier of fetching N times, wherein N>1, and the response determined to be a proper response, wherein each one of the fetchings comprising:
selecting a client device from the group;
sending, to the respective selected client device over the Internet, a Hypertext Transfer Protocol (HTTP) request that comprises the URL;
receiving, from the respective selected client device over the Internet, a respective HTTP response in response to the respective sending of the HTTP request; and
determining whether the respective HTTP response is a proper response that comprises the content by checking a HTTP status code of the HTTP response,
wherein responsive to determining that the each one of the responses is not a proper response, sending an error message,
wherein a distinct client device is selected in each one of the fetchings, and
wherein N is equal to, or more than, 2, 3, 4, or 5.

### Claim 2 (depends on 1)

The method according to claim 1, wherein N is equal to, or more than, 7, 10, 15, 20, 25, 30, 40, 50, or 100.

### Claim 3 (depends on 1)

The method according to claim 1, further being performed by a requesting client device.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising storing and operating a web browser.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the identifying of the URL is performed by the web browser, or wherein the sending of the error message comprises returning the error message to the web browser.

### Claim 6 (depends on 4)

The method according to claim 4, wherein at least part of the steps are performed as part of an operation of a web browser.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising storing, operating, or using, a web browser, that consists of, comprises of, or is based on, Microsoft Internet Explorer, Google Chrome, Opera™, or Mozilla Firefox®, or wherein the web browser is a mobile web browser that consists of, comprises of, or is based on, Safari, Opera Mini™, or Android web browser.

### Claim 8 (depends on 1)

The method according to claim 1, wherein any HTTP request comprises a Hypertext Transfer Protocol Secure (HTTPS) request, and wherein any HTTP response comprises a Hypertext Transfer Protocol Secure (HTTPS) response.

### Claim 9 (depends on 1)

The method according to claim 1, wherein a communication with at least one of the selected client devices is based on, uses, or is compatible with, Hypertext Transfer Protocol (HTTP) or Hypertext Transfer Protocol Secure (HTTPS) protocol or connection.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the content includes, consists of, or comprises, a computer file, audio data, voice data, multimedia data, video data, an image, or a computer program.

### Claim 11 (depends on 1)

The method according to claim 1, wherein any HTTP response is determined as a proper response responsive to a status code of 2xx.

### Claim 12 (depends on 1)

The method according to claim 1, wherein any HTTP response is determined as not being a proper response responsive to a status code of 4xx or 5xx.

### Claim 13 (depends on 1)

The method according to claim 1, further comprising, by one of, or each of, the selected client devices receiving, by the selected device the respective HTTP request, in response to the sending of the HTTP request, and in response to the receiving of the respective HTTP request, repetitively fetching a response from the web server until the earlier of fetching M times, wherein M=1 or M>1, and the response determined to be a proper response, wherein each one of the fetchings by the one of, or each of, the selected client devices, comprising:
fetching M times, wherein M>1 or M=1, by the respective selected client device from the web server, a second response, until the second response is determined to be a proper response, wherein each one of the M times fetchings comprises:
sending, by the respectively selected client device to the web server over the Internet, a respective first HTTP request that comprises the URL;
receiving, by the respectively selected client device from the web server over the Internet, a respective first HTTP response in response to the sending of the respective first HTTP request; and
determining whether the respective first HTTP response is a proper response that comprises the content,
wherein responsive to determining that any one of the respective first HTTP response is a proper response, sending, by the respective selected client device, the content in the proper response, and
wherein responsive to determining that each of the respective first HTTP responses is not a proper response, sending, by the respective selected client device, an additional error message.

### Claim 14 (depends on 13)

The method according to claim 13, wherein M is equal to, or more than, 2, 3, 4, 5, 7, 10, 15, 20, 25, 30, 40, 50, or 100.

### Claim 15 (depends on 13)

The method according to claim 13, wherein M is less than 2, 3, 4, 5, 7, 10, 15, 20, 25, 30, 40, 50, 100, 150, or 200.

### Claim 16 (depends on 1)

The method according to claim 1, wherein any HTTP response is determined as not being a proper response responsive to a status code of HTTP 404 error message.

### Claim 17 (depends on 1)

The method according to claim 1, wherein any HTTP response is determined as not being a proper response in response to not receiving a proper response after elapsed defined time period after an initiation of the fetching using a timeout mechanism.

### Claim 18 (depends on 1)

The method according to claim 1, wherein any HTTP response is determined as not being a proper response in response to detecting a URL redirection.

### Claim 19 (depends on 1)

The method according to claim 1, wherein the URL redirection is determined by checking that the HTTP status code in the received HTTP response is 3xx Redirection.

### Claim 20 (depends on 1)

The method according to claim 1, for use with a criterion, wherein any HTTP response is determined as proper further in response to satisfying the criterion.

### Claim 21 (depends on 20)

The method according to claim 20, wherein the criterion is associated with a feature, characteristic, or type, of the received respective HTTP response, or wherein the criterion comprises a value, and the respective HTTP response is determined as not being a proper response in response to comparing to the value.

### Claim 22 (depends on 1)

The method according to claim 1, for use with a list that comprises Internet Protocol (IP) addresses of the client devices in the group, wherein any selecting of any client device from the group comprises, or consists of, selecting the respective IP address of the selected client device from the list.

### Claim 23 (depends on 1)

The method according to claim 1, wherein at least one of, or each one of, the client devices in the group is housed in a hand-held enclosure or a portable enclosure.

### Claim 24 (depends on 1)

The method according to claim 1, wherein at least one of, or each one of, the client devices in the group is integrated in part or entirely in an appliance.

### Claim 25 (depends on 1)

The method according to claim 1, wherein at least one of, or each one of, the client devices in the group consists of, comprises, is integrated with, or is part of, a wearable device that is wearable on a person.

### Claim 26 (depends on 1)

The method according to claim 1, further comprising storing, operating, or using an operating system or a mobile operating system by at least one of, or each one of, the client devices in the group.

### Claim 27 (depends on 1)

The method according to claim 1, wherein at least one of, or each one of, the selecting comprises random selecting.

### Claim 28 (depends on 1)

The method according to claim 1, wherein at least one of, or each one of, the selecting is based on, or uses, an estimated geographical location of the selected client device.

### Claim 29 (depends on 28)

The method according to claim 28, further comprising estimating the geographical location of the selected client device using geolocation.

### Claim 30 (depends on 29)

The method according to claim 29, wherein the geolocation comprises an IP geolocation that is based on W3C Geolocation Application Programming Interface (API).

### Claim 31 (depends on 28)

The method according to claim 28, wherein a selected client device is selected based on estimated as being associated to being in the same area as the web server.

### Claim 32 (depends on 1)

The method according to claim 1, further comprising storing, operating, or using, by one or more of the client devices in the group, a client operating system.

### Claim 33 (depends on 32)

The method according to claim 32, wherein client operating system consists of, comprises, or is based on, Microsoft Windows 7, Microsoft Windows XP, Microsoft Windows 8, Microsoft Windows 8.1, Linux, or Google Chrome OS.

### Claim 34 (depends on 1)

The method according to claim 1, wherein at least one of the steps is performed by a server device.

### Claim 35 (depends on 34)

The method according to claim 34, wherein the server device consists of, includes, is part of, or is integrated with, a proxy server.

### Claim 36 (depends on 35)

The method according to claim 35, wherein the proxy server consists of, includes, is part of, or is integrated with, an HTTP proxy server, a web-proxy server, a caching proxy, an open-source caching proxy server, a cloud-based proxy server, an open proxy server, a forwarding proxy server, a reverse proxy server, a transparent proxy server, a non-transparent proxy server, an anonymous proxy server, a translation proxy server, a SOCKS proxy server, a CGI web proxy server, a suffix proxy server, an I2P anonymous proxy server, a DNS proxy server, or any combination thereof.

### Claim 37 (depends on 1)

The method according to claim 1, wherein at least one of the steps is performed as part of a plug-in or an extension integrated with a web browser.

### Claim 38 (depends on 37)

The method according to claim 37, wherein at least one of the steps is performed by a plug-in or an extension.

### Claim 39 (depends on 37)

The method according to claim 37, wherein the identifying of the URL uses a plug-in or an extension to a web browser.

### Claim 40 (depends on 37)

The method according to claim 37, wherein the integration is by hooking to the web browser, wherein the integration is in a filter driver form, or wherein the web browser and the steps are communicating using an Inter-Process Communication (IPC).

### Claim 41 (depends on 37)

The method according to claim 37, wherein the identifying of the URL uses hooking to the web browser, a filter driver form, or using an Inter-Process Communication (IPC).

### Claim 42 (depends on 41)

The method according to claim 41, wherein the IPC uses a file sharing, a signal, a socket, a pipe, a message queue, a shared memory, a semaphore, or memory mapped file, or wherein the IPC is using a clipboard, a Component Object Model (COM), a data copy, a DDE protocol, or mailslots.

### Claim 43 (depends on 1)

The method according to claim 1, wherein the communication over the Internet with any of the client devices in the group is based on, uses, or is compatible with, a Socket Secure (SOCKS) protocol or connection.

### Claim 44 (depends on 1)

The method according to claim 1, wherein the SOCKS protocol or connection is according to, based on, or is compatible with, SOCKS4, SOCKS4a, or SOCKS5, or wherein the SOCKS protocol or connection is according to, based on, or is compatible with, IETF RFC 1928, IETF RFC 1929, IETF RFC 1961, or IETF RFC 3089.

### Claim 45 (depends on 1)

The method according to claim 1, wherein the communication over the Internet with one or more of the selected devices is based on, uses, or is compatible with, WebSocket (ws) or WebSocket Secure (wss) protocol or connection.
