Adds 3 chapters to oathbringer reread

This commit is contained in:
Nemo 2019-12-31 00:00:53 +05:30
parent 2020023d09
commit e7288d6cb3
8 changed files with 24 additions and 7 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'date'
require 'fileutils'
require 'nokogiri'
@ -5,7 +7,7 @@ require_relative './methods'
FileUtils.mkdir_p('edgedancer')
BASE = 'https://www.tor.com/'.freeze
BASE = 'https://www.tor.com/'
links = [
'2017/08/24/edgedancer-reread-chapter-1/',

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Nokogiri
module XML
# Patch to add class?

View File

@ -102,7 +102,10 @@ links = [
'/2019/10/31/oathbringer-reread-chapter-one-hundred-three/',
'/2019/11/07/oathbringer-reread-chapter-one-hundred-four/',
'/2019/11/14/oathbringer-reread-chapter-one-hundred-five/',
'/2019/11/21/oathbringer-reread-chapter-one-hundred-six/'
'/2019/11/21/oathbringer-reread-chapter-one-hundred-six/',
'/2019/12/05/oathbringer-reread-chapter-one-hundred-and-seven/',
'/2019/12/12/oathbringer-reread-chapter-one-hundred-eight/',
'/2019/12/19/oathbringer-reread-chapter-one-hundred-and-nine/'
]
episode = 1

View File

@ -1,10 +1,12 @@
# frozen_string_literal: true
require 'date'
require 'fileutils'
require 'nokogiri'
require_relative './methods'
FileUtils.mkdir_p('oathbringer')
BASE = 'https://www.tor.com/2017/'.freeze
BASE = 'https://www.tor.com/2017/'
links = [
'08/22/oathbringer-brandon-sanderson-prologue/',

View File

@ -1,10 +1,12 @@
# frozen_string_literal: true
require 'fileutils'
require 'nokogiri'
require_relative './methods'
FileUtils.mkdir_p('skyward')
BASE = 'https://www.getunderlined.com'.freeze
BASE = 'https://www.getunderlined.com'
links = [
'/read/excerpt-reveal-start-reading-skyward-by-brandon-sanderson/'

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'date'
require 'fileutils'
require 'nokogiri'
@ -5,7 +7,7 @@ require_relative './methods'
FileUtils.mkdir_p('wok-prime')
BASE = 'https://brandonsanderson.com/'.freeze
BASE = 'https://brandonsanderson.com/'
links = [
'the-way-of-kings-prime-jeksonsonvallano/',

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'date'
require 'fileutils'
require 'nokogiri'
@ -5,7 +7,7 @@ require_relative './methods'
FileUtils.mkdir_p('wok')
BASE = 'https://www.tor.com/'.freeze
BASE = 'https://www.tor.com/'
links = [
'2013/03/14/the-way-of-kings-reread-introduction/',

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'date'
require 'fileutils'
require 'nokogiri'
@ -5,7 +7,7 @@ require_relative './methods'
FileUtils.mkdir_p('wor')
BASE = 'https://www.tor.com'.freeze
BASE = 'https://www.tor.com'
links = [
'/2014/06/12/introducing-the-words-of-radiance-reread/',