Coder Social home page Coder Social logo

kolomona / nzbsearcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tensai75/nzbsearcher

0.0 0.0 0.0 67 KB

"Proof of Concept" for an NZB search engine that searches for a header directly on the Usenet server and then generates the NZB files

License: MIT License

Go 100.00%

nzbsearcher's Introduction

nzbsearcher

"Proof of Concept" for an NZB search engine that searches for a header directly on the Usenet server and then generates the NZB files.

The programme searches in each specified newsgroup for a configurable number of days backwards from a specified date. So if the approximate date the file was posted on Usenet and the newsgroup are known (e.g. from an Usenet forum post), there is a good chance that this program will find the messages and generate the NZB file for download. The program is mainly intended to search for very old Usenet posts that are still available on the Omicron backbone but have not been indexed by the known Usenet indexers.

Installation

Download the zip file for the desired operating system from the release page and unzip it.

Execute the programme 'nzbsearcher' in a command line. The first time you run it, it will create the default configuration file "config.yml" in the same directory as the executable file. Open the "config.yml" and adjust the settings under "Server" according to the settings of your Usenet account. The other settings can be adjusted according to your own requirements. There are some explanations in the comments in the configuration file.

How to use

Execute the programme 'nzbsearcher' in a command line. You will be prompted for the header you are looking for and the date you assume the file was posted on Usenet. If no default information is given in the configuration file, you will also be prompted to enter the full name of the newsgroup(s) to search in and the number of days you want the program to search backwards from the specified date. If several newsgroups are to be searched, the names must be separated by commas. "alt.binaries." can be abbreviated to "a.b." when entered.

The program will then search all messages in the newsgroup(s) within the specified time period and search the subjects for the specified header. If messages are found, the information is collected and then stored in a corresponding NZB file, either in the same directory as the executable file or in the path specified by the path setting.

All settings in the conf file can also be specified as command line parameters and will then override the config settings. Further information can be found by specifying the -help parameter.

To do

The parsing of the subject should be improved significantly to better take into account all the very different subject formats used for file posts.

Change log

v0.0.4

  • limit nzb filename to 255 characters

v0.0.3

  • allow a.b. instead of alt.binaries.
  • show parsing erros only with verbose output (parameter: -verbose)
  • improved parsing of subject

v0.0.2

  • fix to have accurate dates

v0.0.1

  • first public version

nzbsearcher's People

Contributors

tensai75 avatar wilriker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.