Skip to main content

fecho Build Status

Uses Facebook's debugging tool to bypass CAPTCHA and other blacklists.

Install

pip install fecho

Usage

The cookie can be extracted using the EditThisCookie browser extension. Just export the cookies after logging into Facebook.

Command Line

fecho --url 'https://www.google.com/search?q=sample+query' --cookie '[
{
    "domain": ".facebook.com",
    "expirationDate": 1597023793.932123,
    "hostOnly": false,
    "httpOnly": false,
    "name": "c_user",
    "path": "/",
    "sameSite": "unspecified",
    "secure": true,
    "session": false,
    "storeId": "0",
    "value": "",
    "id": 1
},
...
]'

Python

from fecho import Client

COOKIE = """
[
{
    "domain": ".facebook.com",
    "expirationDate": 1597023793.932123,
    "hostOnly": false,
    "httpOnly": false,
    "name": "c_user",
    "path": "/",
    "sameSite": "unspecified",
    "secure": true,
    "session": false,
    "storeId": "0",
    "value": "",
    "id": 1
},
...
]
"""

client = Client(COOKIE)

response = client.get("https://www.google.com/search?q=test")

print(client.unescape(response.text))

Note

This project was inspired by s0md3v/goop

Metadata

Release files for fecho 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fecho 1.0.6
File Size Uploaded Provenance Actions
fecho-1.0.6.tar.gz 4.2 kB Without provenance Details for fecho-1.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fecho 1.0.6
File Interpreter ABI Platform Actions
fecho-1.0.6-py2.py3-none-any.whl Python 3, Python 2 none any Details for fecho-1.0.6-py2.py3-none-any.whl

Total release size: 9.5 kB

Release files / fecho-1.0.6.tar.gz

Download URL fecho-1.0.6.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c65c9b4c552404585d577943ea3454a730841974a587b3412f48bc4186696458
BLAKE2b-256 checksum
How to use checksums
255961f102b580a569c384ab1c3369d391f7621ec76afa8be41485b6c312fa68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / fecho-1.0.6-py2.py3-none-any.whl

Download URL fecho-1.0.6-py2.py3-none-any.whl
Size 5.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
002366f244b5825988258f433eb4e56e4cb4869989497deeb5139d44a9a2af36
BLAKE2b-256 checksum
How to use checksums
cd58d0477d61ffa07f4fd54bc065343040e15fa8df82babcbba2b2e7868d883b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Security for fecho 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page