Skip to content

Instantly share code, notes, and snippets.

@Green0Photon
Green0Photon / pact-scraper.rb
Last active May 23, 2017 22:09
Worm and Pact Scrapers - Creates a folder of html files that can be imported into Calibre
#!/usr/bin/ruby
# Scrapes crude HTML representation of Pact by Wildbow web serial chapters and saves it to a folder to be copy-pasted into Calibre
# Run, then you will a set of html files that can be imported into Calibre.
# Remember to create a table of contents!
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'net/https'
Another Test
Yolo!
Demo