Skip to content

Tidy the README, use chrome_152 in examples, add examples for 2.0 features - #162

Merged
FlorianREGAZ merged 2 commits into
mainfrom
docs/chrome-152-examples
Oct 10, 2026
Merged

FlorianREGAZ merged 2 commits into
mainfrom
docs/chrome-152-examples

Conversation

@FlorianREGAZ

@FlorianREGAZ FlorianREGAZ commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

README

  • The README keeps a single example (the preset one). Below it is a list of links to every file in examples/.
  • The links are absolute GitHub URLs so they also work on the PyPI project page.
  • The Pyinstaller / Pyarmor section is removed.

Chrome profile

Every example that uses a Chrome profile now uses chrome_152, the newest one in ClientIdentifiers. Before, they used chrome_112 or chrome_120. The certificate pinning example used the default profile (chrome_120) and now sets chrome_152 explicitly. The comment listing example names also mentions firefox_148 and safari_ios_26_0.

New examples in examples/

  • example5 - async.py: moved from the README. It used to request example.com/0 to /9, which all return 404; it now uses httpbin.org/get?page={i}.
  • example6 - redirects and cookies.py
  • example7 - download.py
  • example8 - multiprocessing.py

Testing

  • Ran examples 5 to 8 against the live sites. Each printed the output written in its comments, the downloaded PNG is valid, and the spawned processes all got 200.
  • Every README link points to an existing file.
  • ruff check and ruff format --check pass on examples/. Ruff also added a trailing comma in the certificate pinning example.

🤖 Generated with Claude Code

FlorianREGAZ and others added 2 commits October 10, 2026 17:26
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ection

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@FlorianREGAZ FlorianREGAZ changed the title Use chrome_152 in the README and examples, add examples for 2.0 features Tidy the README, use chrome_152 in examples, add examples for 2.0 features Oct 10, 2026
@FlorianREGAZ
FlorianREGAZ merged commit 62d2dba into main Oct 10, 2026
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant