Giter Club home page Giter Club logo

niftyretriever's Introduction

NiftyRetriever

This tool, first developed on September 22, 2016, was made for scraping a given website for links to the now defunct webhosting service Nifty in light of the service's closure on November 10, 2016. As the tool has served its purpose, it is no longer being maintained, and has been put on display for historical purposes.

Files

index.js

The main tool. Given a website, it would crawl that website for outgoing links to URLs containing the term "nifty". It is also cpable of traversing site crawls from Wayback Machine or outgoing links that obscure the link destination, as well as SmarTrans links. Collected links are then compiled into a list and then outputted to a file, which is then fed to ArchiveBot so that these URLs are archived. This tool makes use of an older version of jsdom 9.8.0.

In the event of a problem such as an unusual response or an unparseable URL, the script will immediately shut down, outputting all Nifty links collected so far as well as a file representing its scraping progress. The file can be read so that progress can be resumed from that point.

pgscraper.js

Scrapes user profiles from the now defunct community portalgraphics

yomiscraper.js

Used for scraping search results in websites powered by Yomi-Search. This is only effective on live websites. Usually, a site can contain helpful links outside of search results, so this was used in conjunction with the main script.

listfilter.js

This takes a given list file and all other lists that have been used for the archival of Nifty. It then removes all links that are already in at least one of the other lists, and then outputs a reduced list.

memberstohomepage.js

Nifty used to host websites under the member.nifty.ne.jp domain. Sometimes, the user will have moved their website to one of the three "homepage" subdomains.

This script takes a given list, detects instances of member.nifty.ne.jp URLs, and attempts to find the "new" URL under one of the three "homepage" subdomains through trial and error. If a working URL is found, the original URL is replaced with the working URL. A new file is created with any working URLs substituted in.

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.