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

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.5.tar.gz (16.6 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.5-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brutefeedparser-0.10.5.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.0-140-generic

File hashes

Hashes for brutefeedparser-0.10.5.tar.gz
Algorithm Hash digest
SHA256 d8f51d3a8f71a02f69bf7b6213da57acc7674cc3149e3198e1413ae8bbfab56a
MD5 d64dcb6dc174426ce1d68de463b55cc2
BLAKE2b-256 491c5f7a6944a2c8a0d11ed75bc8ba48b5c659297c5a7913306d29a9e6f2d896

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brutefeedparser-0.10.5-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.0-140-generic

File hashes

Hashes for brutefeedparser-0.10.5-py3-none-any.whl
Algorithm Hash digest
SHA256 910af96bc973ab35bf48efcab03dc3ac4d2379a30ee2f8817e6d541fcb807f3b
MD5 c36ae450bb1596f5fdedd478dfe24f23
BLAKE2b-256 c8e9a577ee06c2b48367140bd1c746e77f9675a7a2956cd09f64f9ccd4093d87

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