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.6.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.6-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brutefeedparser-0.10.6.tar.gz
  • Upload date:
  • Size: 16.6 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.6.tar.gz
Algorithm Hash digest
SHA256 ec831899133def516a5fb39b9ea7b04a413958e9f66f29e1111aa68d01e68550
MD5 b0481f0776805665e8b2e64a722d0f25
BLAKE2b-256 378d2a0f193567c4aa0a2e048036cd434e5042baea416f9c5c6016fc5a55ee84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brutefeedparser-0.10.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 29e29e822f21cdcbff5afaee66771bfd8643916fee0ceb1c361ae822edae091f
MD5 9fef5878cfdaffa02830a8339b5bd7b5
BLAKE2b-256 438abb1ee72280240c6b09b022fba19f0b76a66255d6afa36eea22386cf100fe

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