Skip to main content

Brute Feed Parser

Project description

Overview

This is a brute-force feed parser.

Why?

  • feedparser doesn’t handle all feeds correctly. I can vividly recall that it could not parse something
  • It has trouble parsing CDATA sections (at least, from what I recall).
  • There were issues using it in threaded or async contexts—warnings or errors would show up.
  • Some parsers can’t handle RSS embedded in HTML, which is unfortunate. I plan to address this... eventually (in Valve time).

This project aims to be a drop-in replacement for feedparser

Installation

    $ pip install brutefeedparser

Use

from brutefeedparser import BruteFeedParser

reader = BruteFeedParser.parse(contents)

Standards? What standards?

This project does not care about standards. Standards are for loosers.

Look at me! I am the standard now!

You can quote me on the thing below:

If the problem is a nail and your hammer fails, perhaps it's time to reach for a bigger one.

Disclaimer

This project contains code so questionable that at least one line could cause Linus Torvalds to spontaneously combust.

Reading the code in large doses may result in dizziness, despair, or the sudden realization that tabs vs. spaces was the least of your problems.

Keep the code far away from any seasoned kernel developers.

Pasting any part of this into a Linux kernel mailing list may trigger several years of flame wars, philosophical debates, and intergenerational feuds among programming factions.

Proceed with caution. Or better yet — just don’t.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brutefeedparser-0.10.8.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brutefeedparser-0.10.8-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file brutefeedparser-0.10.8.tar.gz.

File metadata

  • Download URL: brutefeedparser-0.10.8.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-100-generic

File hashes

Hashes for brutefeedparser-0.10.8.tar.gz
Algorithm Hash digest
SHA256 cfd3606c2d20cab4cf53035b6ea6c8006f5c1c8034cfc4212400684ac6f2c12b
MD5 6943af7eae47137379f5fb6698420eab
BLAKE2b-256 200e3cc784a19476b2e3bad7ea609ab7da5eaeccd30a25434a7b764d30e4a028

See more details on using hashes here.

File details

Details for the file brutefeedparser-0.10.8-py3-none-any.whl.

File metadata

  • Download URL: brutefeedparser-0.10.8-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-100-generic

File hashes

Hashes for brutefeedparser-0.10.8-py3-none-any.whl
Algorithm Hash digest
SHA256 174cdbf448014a32445cc278c9988256267b14603abeb7135b1404180bb3392b
MD5 dc189f6d628b73e8b3c41c9c5a5bf1b9
BLAKE2b-256 b614c877edd63a8ca837cba3601f23ade7c1a373b55c302bdb983d84c18f19db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page