Skip to content

issues pynzb library + useful extentions #1

@pyrescene

Description

@pyrescene

I've used this library to process thousands of NZB files.
These are additions and fixes I hacked together while using pynzb:
http://pastebin.com/JRC6GD8g
You have permission to use any of this code to improve pynzb.

In short:

  • Not all NZBs are valid XML: a function that tries to fix it and parse again e.g. for some NZBs created by newsmangler
  • function to grab the file name from the subject + effort to do it for non-standard subject lines too
  • the date of a file wasn't time sensitive
  • functions to build new NZB files (I used it to create NZBs with certain files)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions