Pychan

Latest version: v0.8.0

Safety actively analyzes 622330 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.8.0

Added

* Python 3.12 is now an official build target for `pychan` (by
[cooperwalbrun](https://github.com/cooperwalbrun))

0.7.0

Changed

* All 4chan HTTP operations will now use the `4chan.org` domain (previously, some HTTP operations
used the `4channel.org` domain) (by [cooperwalbrun](https://github.com/cooperwalbrun))

0.6.0

Added

* The `Thread` and `Post` models each now have a `url` property which contains a complete URL
linking directly to that particular thread or post in 4chan (by
[cooperwalbrun](https://github.com/cooperwalbrun))

Fixed

* The `search()` method will now raise a `ParsingError` when the data returned from 4chan is in an
unexpected format (by [cooperwalbrun](https://github.com/cooperwalbrun))
* The `search()` method will no longer induce HTTP 403 errors (thanks to its new Cloudflare-oriented
arguments) (by [cooperwalbrun](https://github.com/cooperwalbrun))

Changed

* Whitespace-only thread titles will now be converted into `None` within the `get_threads()` method
(by [cooperwalbrun](https://github.com/cooperwalbrun))
* The `search()` method now expects `user_agent` and `cloudflare_cookies` arguments containing the
`User-Agent` and `Cookie` header data needed to bypass the Cloudflare firewall in front of 4chan's
REST API (by [cooperwalbrun](https://github.com/cooperwalbrun))

0.5.0

Added

* The `File` model now has an `is_spoiler` field indicating whether the image was a "spoiler" image
(by [cooperwalbrun](https://github.com/cooperwalbrun))

Changed

* The `get_threads()` method no longer iterates through a board's pages; instead, it directly
scrapes threads from the catalog for the given board (by
[cooperwalbrun](https://github.com/cooperwalbrun))

Removed

* Support for Python 3.9 has been removed; `pychan` will now only build for Python 3.10 and 3.11 (by
[cooperwalbrun](https://github.com/cooperwalbrun))

0.4.2

Fixed

* The `get_boards()` method will no longer induce HTTP 403 errors (by
[cooperwalbrun](https://github.com/cooperwalbrun))

0.4.1

Changed

* The `FourChan` class will no longer output any warnings when 4chan's pages for a given board have
been exhausted by the `get_threads()` generator (by
[cooperwalbrun](https://github.com/cooperwalbrun))

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.