simpsons_world 1.1.1 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/data/season-10.yml +22 -22
- data/lib/data/season-11.yml +14 -14
- data/lib/data/season-15.yml +1 -2
- data/lib/data/season-17.yml +1 -1
- data/lib/data/season-18.yml +1 -1
- data/lib/data/season-19.yml +2 -3
- data/lib/data/season-22.yml +2 -3
- data/lib/data/season-23.yml +1 -1
- data/lib/data/season-27.yml +27 -0
- data/lib/data/season-4.yml +1 -2
- data/lib/data/season-8.yml +19 -19
- data/lib/data/season-9.yml +27 -27
- data/lib/simpsons_world/scrape.rb +7 -2
- data/lib/simpsons_world/version.rb +1 -1
- data/simpsons_world.gemspec +5 -5
- data/spec/simpsons_world_spec.rb +12 -2
- metadata +23 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b53da337da903cd96a7d3e85bf0f8d2e316b9e8e
|
4
|
+
data.tar.gz: eca25039f82f3aa5af37df54466693901a4621cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a1eee35ee4be462abddd3cbe611a999b44a1e9a192994002b4eee0151ec765da5f532b6b6c2487e137ea077de0ed4391d79f1b5f22fa1ee3c2d06a760de500c
|
7
|
+
data.tar.gz: b9adffbabc4c8f881f31097705d680097f2ed85af0b120c445fca897a9734151bc2e834ca5774f11e21be6768ec4a1d467ec8e85b6c60bc8773f9ff26bd54c37
|
data/lib/data/season-10.yml
CHANGED
@@ -9,107 +9,107 @@
|
|
9
9
|
:title: The Wizard of Evergreen Terrace
|
10
10
|
:description: After realizing half his life is over, Homer decides to become the
|
11
11
|
next Thomas Edison.
|
12
|
-
:url: "/video/
|
12
|
+
:url: "/video/473117763575"
|
13
13
|
3:
|
14
14
|
:title: Bart the Mother
|
15
15
|
:description: Bart tends to a nest filled with eggs after he inadvertently kills
|
16
16
|
a bird with a BB gun.
|
17
|
-
:url: "/video/
|
17
|
+
:url: "/video/473109571557"
|
18
18
|
4:
|
19
19
|
:title: Treehouse of Horror IX
|
20
20
|
:description: An evil toupee possesses Homer; Bart and Lisa find themselves trapped
|
21
21
|
inside an Itchy & Scratchy cartoon; baby Maggie turns out to be the daughter
|
22
22
|
of a space alien.
|
23
|
-
:url: "/video/
|
23
|
+
:url: "/video/473130051681"
|
24
24
|
5:
|
25
25
|
:title: When You Dish Upon a Star
|
26
26
|
:description: Homer befriends a group of Hollywood celebrities vacationing in
|
27
27
|
a remote part of town and promises to keep their whereabouts a secret.
|
28
|
-
:url: "/video/
|
28
|
+
:url: "/video/473147459674"
|
29
29
|
6:
|
30
30
|
:title: D'oh-in' in the Wind
|
31
31
|
:description: Homer embraces his newly discovered hippie heritage.
|
32
|
-
:url: "/video/
|
32
|
+
:url: "/video/473138243754"
|
33
33
|
7:
|
34
34
|
:title: Lisa Gets an 'A'
|
35
35
|
:description: Lisa suffers a guilty conscience after she cheats on an exam. Homer
|
36
36
|
believes he will save a fortune by raising his own lobster.
|
37
|
-
:url: "/video/
|
37
|
+
:url: "/video/473152579638"
|
38
38
|
8:
|
39
39
|
:title: 'Homer Simpson in: ''Kidney Trouble'''
|
40
40
|
:description: Homer offers to donate one of his kidneys to Grampa until he realizes
|
41
41
|
the surgery will place his own life in jeopardy.
|
42
|
-
:url: "/video/
|
42
|
+
:url: "/video/473158211896"
|
43
43
|
9:
|
44
44
|
:title: Mayored to the Mob
|
45
45
|
:description: Homer takes on the mob when he acts as Mayor Quimby's bodyguard.
|
46
|
-
:url: "/video/
|
46
|
+
:url: "/video/473163843671"
|
47
47
|
10:
|
48
48
|
:title: Viva Ned Flanders
|
49
49
|
:description: Homer shows Flanders how to enjoy life by taking him to Las Vegas.
|
50
|
-
:url: "/video/
|
50
|
+
:url: "/video/473115203586"
|
51
51
|
11:
|
52
52
|
:title: Wild Barts Can't Be Broken
|
53
53
|
:description: The children of Springfield rebel after Wiggum enforces a curfew.
|
54
|
-
:url: "/video/
|
54
|
+
:url: "/video/473155651508"
|
55
55
|
12:
|
56
56
|
:title: Sunday, Cruddy Sunday
|
57
57
|
:description: Homer and his friends eagerly anticipate attending the Super Bowl
|
58
58
|
until a ticketing snafu threatens to keep them from seeing the game.
|
59
|
-
:url: "/video/
|
59
|
+
:url: "/video/473132611959"
|
60
60
|
13:
|
61
61
|
:title: Homer to the Max
|
62
62
|
:description: Homer changes his name when a dimwitted television show character
|
63
63
|
named "Homer Simpson" becomes an overnight sensation.
|
64
|
-
:url: "/video/
|
64
|
+
:url: "/video/473140803870"
|
65
65
|
14:
|
66
66
|
:title: I'm with Cupid
|
67
67
|
:description: Apu showers his wife with Valentine's Day surprises making men throughout
|
68
68
|
Springfield look like cheapskates.
|
69
|
-
:url: "/video/
|
69
|
+
:url: "/video/473104963819"
|
70
70
|
15:
|
71
71
|
:title: 'Marge Simpson in: ''Screaming Yellow Honkers'''
|
72
72
|
:description: Marge discovers the pleasures of driving a sport utility vehicle
|
73
73
|
until aggressive highway habits cost her.
|
74
|
-
:url: "/video/
|
74
|
+
:url: "/video/473097795997"
|
75
75
|
16:
|
76
76
|
:title: Make Room for Lisa
|
77
77
|
:description: Lisa exhibits signs of stress when she is forced into sharing her
|
78
78
|
brother's bedroom. Marge becomes addicted to eavesdropping on cellular phone
|
79
79
|
conversations.
|
80
|
-
:url: "/video/
|
80
|
+
:url: "/video/473093187636"
|
81
81
|
17:
|
82
82
|
:title: Maximum Homerdrive
|
83
83
|
:description: Homer and Bart attempt to deliver a dead trucker's cargo on schedule. Meanwhile,
|
84
84
|
Marge decides to have an adventure of her own and purchases a new doorbell.
|
85
|
-
:url: "/video/
|
85
|
+
:url: "/video/473095235738"
|
86
86
|
18:
|
87
87
|
:title: Simpsons Bible Stories
|
88
88
|
:description: While listening to one of Reverend Lovejoy's sermons on a sweltering
|
89
89
|
Easter Sunday morning, the Simpsons fall asleep and envision themselves as characters
|
90
90
|
from the Bible.
|
91
|
-
:url: "/video/
|
91
|
+
:url: "/video/491949123691"
|
92
92
|
19:
|
93
93
|
:title: Mom and Pop Art
|
94
94
|
:description: Homer pursues a career as an artist when his misshapen barbecue
|
95
95
|
pit attracts the attention of a gallery.
|
96
|
-
:url: "/video/
|
96
|
+
:url: "/video/491179587727"
|
97
97
|
20:
|
98
98
|
:title: The Old Man and the 'C' Student
|
99
99
|
:description: Bart must perform community service at Grampa's retirement home.
|
100
|
-
:url: "/video/
|
100
|
+
:url: "/video/491177539838"
|
101
101
|
21:
|
102
102
|
:title: Monty Can't Buy Me Love
|
103
103
|
:description: Mr. Burns attempts to win adoration by transporting the Loch Ness
|
104
104
|
monster to Springfield.
|
105
|
-
:url: "/video/
|
105
|
+
:url: "/video/491212867514"
|
106
106
|
22:
|
107
107
|
:title: They Saved Lisa's Brain
|
108
108
|
:description: Lisa is invited to join Mensa; Homer receives a free erotic photo
|
109
109
|
session.
|
110
|
-
:url: "/video/
|
110
|
+
:url: "/video/491180099996"
|
111
111
|
23:
|
112
112
|
:title: Thirty Minutes Over Tokyo
|
113
113
|
:description: The Simpsons board a mega-saver flight for Tokyo, only to find themselves
|
114
114
|
trapped overseas when they run out of money.
|
115
|
-
:url: "/video/
|
115
|
+
:url: "/video/491187267714"
|
data/lib/data/season-11.yml
CHANGED
@@ -4,72 +4,72 @@
|
|
4
4
|
:title: Beyond Blunderdome
|
5
5
|
:description: Studio executives panic when actor Mel Gibson taps Homer to help
|
6
6
|
him retool his latest film.
|
7
|
-
:url: "/video/
|
7
|
+
:url: "/video/491167811832"
|
8
8
|
2:
|
9
9
|
:title: Brother's Little Helper
|
10
10
|
:description: Bart is diagnosed with Attention Deficit Disorder and placed on
|
11
11
|
medication that quells his disruptive behavior.
|
12
|
-
:url: "/video/
|
12
|
+
:url: "/video/491172931665"
|
13
13
|
3:
|
14
14
|
:title: Guess Who's Coming to Criticize Dinner
|
15
15
|
:description: Homer becomes the Springfield Shopper's new food critic, but raises
|
16
16
|
the ire of restaurateurs by panning their cooking.
|
17
|
-
:url: "/video/
|
17
|
+
:url: "/video/491176515533"
|
18
18
|
4:
|
19
19
|
:title: Treehouse of Horror X
|
20
20
|
:description: Homer's Y2K error plunges the Earth into chaos; Bart and Lisa become
|
21
21
|
superheroes and attempt to save Lucy Lawless from a super-villain; someone terrorizes
|
22
22
|
the family after Marge kills Ned Flanders.
|
23
|
-
:url: "/video/
|
23
|
+
:url: "/video/491180099925"
|
24
24
|
5:
|
25
25
|
:title: E-I-E-I-(Annoyed Grunt)
|
26
26
|
:description: The Simpsons relocate to a farm, where Homer produces a tomato that
|
27
27
|
is highly addictive.
|
28
|
-
:url: "/video/
|
28
|
+
:url: "/video/491935811683"
|
29
29
|
6:
|
30
30
|
:title: Hello Gutter, Hello Fadder
|
31
31
|
:description: Homer becomes an instant celebrity when he bowls a perfect game. But
|
32
32
|
when his fame fades away, he lavishes his time on baby Maggie.
|
33
|
-
:url: "/video/
|
33
|
+
:url: "/video/491944515936"
|
34
34
|
7:
|
35
35
|
:title: Eight Misbehavin'
|
36
36
|
:description: Apu is driven to the brink when his wife, Manjula, gives birth to
|
37
37
|
octuplets.
|
38
|
-
:url: "/video/
|
38
|
+
:url: "/video/491177539659"
|
39
39
|
8:
|
40
40
|
:title: Take My Wife, Sleaze
|
41
41
|
:description: Homer wins a vintage motorcycle during a dance contest - and attracts
|
42
42
|
the attention of Hell's Satans when he forms his own gang.
|
43
|
-
:url: "/video/
|
43
|
+
:url: "/video/491212355726"
|
44
44
|
9:
|
45
45
|
:title: Grift of the Magi
|
46
46
|
:description: As the Christmas holiday approaches... Springfield Elementary closes
|
47
47
|
its doors for financial reasons, only to reopen when a mysterious organization
|
48
48
|
steps in to help.
|
49
|
-
:url: "/video/
|
49
|
+
:url: "/video/491172419803"
|
50
50
|
10:
|
51
51
|
:title: Little Big Mom
|
52
52
|
:description: Lisa becomes mother-of-the-house when Marge is hospitalized with
|
53
53
|
a broken leg.
|
54
|
-
:url: "/video/
|
54
|
+
:url: "/video/491182659923"
|
55
55
|
11:
|
56
56
|
:title: Faith Off
|
57
57
|
:description: Bart believes he has the power to heal the sick.
|
58
|
-
:url: "/video/
|
58
|
+
:url: "/video/491171907723"
|
59
59
|
12:
|
60
60
|
:title: The Mansion Family
|
61
61
|
:description: The Simpsons care for Burns' mansion when the billionaire leaves
|
62
62
|
town for a medical exam.
|
63
|
-
:url: "/video/
|
63
|
+
:url: "/video/491257411795"
|
64
64
|
13:
|
65
65
|
:title: Saddlesore Galactica
|
66
66
|
:description: When Homer and Bart transform a loser racehorse into a champion,
|
67
67
|
rival jockeys threaten revenge.
|
68
|
-
:url: "/video/
|
68
|
+
:url: "/video/491208771604"
|
69
69
|
14:
|
70
70
|
:title: Alone Again Natura-Diddily
|
71
71
|
:description: Homer attempts to help when Flanders experiences a tragic loss.
|
72
|
-
:url: "/video/
|
72
|
+
:url: "/video/491168835681"
|
73
73
|
15:
|
74
74
|
:title: Missionary Impossible
|
75
75
|
:description: Homer is forced to become a missionary on a remote island after
|
data/lib/data/season-15.yml
CHANGED
@@ -39,8 +39,7 @@
|
|
39
39
|
:title: "'Tis the Fifteenth Season"
|
40
40
|
:description: As Christmas approaches, Homer discovers the true meaning of the
|
41
41
|
season after watching an animated version of A Christmas Carol on television. But
|
42
|
-
Flanders find it impossible to live as the second-nicest-guy in town.
|
43
|
-
by FXX.
|
42
|
+
Flanders find it impossible to live as the second-nicest-guy in town.
|
44
43
|
:url: "/video/227364931670"
|
45
44
|
8:
|
46
45
|
:title: Marge vs. Singles, Seniors, Childless Couples and Teens, and Gays
|
data/lib/data/season-17.yml
CHANGED
@@ -102,7 +102,7 @@
|
|
102
102
|
:title: Girls Just Want to Have Sums
|
103
103
|
:description: After Skinner is fired for insinuating that girls are inferior to
|
104
104
|
boys in math, Springfield Elementary is split into two groups-boys and girls-forcing
|
105
|
-
Lisa to dress up like a boy so she can attend a math class.
|
105
|
+
Lisa to dress up like a boy so she can attend a math class.
|
106
106
|
:url: "/video/274367043639"
|
107
107
|
20:
|
108
108
|
:title: Regarding Margie
|
data/lib/data/season-18.yml
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
:title: Please Homer, Don't Hammer 'em
|
16
16
|
:description: Marge starts her own carpentry business, only to discover that men
|
17
17
|
don't trust a woman to do the job; Bart discovers that Skinner is allergic to
|
18
|
-
peanuts.
|
18
|
+
peanuts.
|
19
19
|
:url: "/video/283760707876"
|
20
20
|
4:
|
21
21
|
:title: Treehouse of Horror XVII
|
data/lib/data/season-19.yml
CHANGED
@@ -24,8 +24,7 @@
|
|
24
24
|
:title: Treehouse of Horror XVIII
|
25
25
|
:description: 'In three tales of Halloween terror: Homer and Marge attempt to
|
26
26
|
eliminate one another after discovering their secret identities; Bart and Lisa
|
27
|
-
aid Kodos the space alien; Flanders uses the seven deadly sins to punish Bart.
|
28
|
-
Presented by FXX.'
|
27
|
+
aid Kodos the space alien; Flanders uses the seven deadly sins to punish Bart.'
|
29
28
|
:url: "/video/302852163741"
|
30
29
|
6:
|
31
30
|
:title: Little Orphan Millie
|
@@ -81,7 +80,7 @@
|
|
81
80
|
15:
|
82
81
|
:title: Smoke on the Daughter
|
83
82
|
:description: Lisa becomes addicted to secondhand smoke when she joins a ballet
|
84
|
-
academy; Homer befriends raccoons who stole his beef jerky.
|
83
|
+
academy; Homer befriends raccoons who stole his beef jerky.
|
85
84
|
:url: "/video/310477379554"
|
86
85
|
16:
|
87
86
|
:title: Papa Don't Leech
|
data/lib/data/season-22.yml
CHANGED
@@ -31,8 +31,7 @@
|
|
31
31
|
6:
|
32
32
|
:title: The Fool Monty
|
33
33
|
:description: When a dying Mr. Burns loses his memory, the residents of Springfield
|
34
|
-
exact revenge on the abusive billionaire by using him as their plaything.
|
35
|
-
by FXX.
|
34
|
+
exact revenge on the abusive billionaire by using him as their plaything.
|
36
35
|
:url: "/video/263544387571"
|
37
36
|
7:
|
38
37
|
:title: How Munched is that Birdie in the Window?
|
@@ -64,7 +63,7 @@
|
|
64
63
|
:title: Homer the Father
|
65
64
|
:description: Homer uses plotlines from a 1980's sitcom to deal with Bart when
|
66
65
|
the boy grows obsessed with obtaining a cool mini-bike; Bart attempts to trade
|
67
|
-
nuclear secrets to the Chinese government.
|
66
|
+
nuclear secrets to the Chinese government.
|
68
67
|
:url: "/video/256851523744"
|
69
68
|
13:
|
70
69
|
:title: The Blue and the Gray
|
data/lib/data/season-23.yml
CHANGED
@@ -76,7 +76,7 @@
|
|
76
76
|
14:
|
77
77
|
:title: At Long Last Leave
|
78
78
|
:description: Fed up with the family's negative impact on the city, townspeople
|
79
|
-
banish the Simpsons from Springfield.
|
79
|
+
banish the Simpsons from Springfield.
|
80
80
|
:url: "/video/230541891832"
|
81
81
|
15:
|
82
82
|
:title: Exit Through The Kwik-E-Mart
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
- 27
|
3
|
+
- 1:
|
4
|
+
:title: Every Man's Dream
|
5
|
+
:description: Homer and Marge have a trial separation during which Homer begins
|
6
|
+
dating a 20-something.
|
7
|
+
:url: "/video/533038147961"
|
8
|
+
2:
|
9
|
+
:title: Cue Detective
|
10
|
+
:description: Scotty Boom, a Chew Network super-chef, challenges Homer to a smoke-off.
|
11
|
+
:url: "/video/538100291971"
|
12
|
+
3:
|
13
|
+
:title: Puffless
|
14
|
+
:description: Upon learning that their father really died of lung cancer, Selma
|
15
|
+
and Patty agree to quit smoking.
|
16
|
+
:url: "/video/546147395899"
|
17
|
+
4:
|
18
|
+
:title: Halloween of Horror
|
19
|
+
:description: Homer and Lisa hide out in the attic in the wake of Halloween home
|
20
|
+
invaders.
|
21
|
+
:url: "/video/546467907646"
|
22
|
+
5:
|
23
|
+
:title: Treehouse of Horror XXVI
|
24
|
+
:description: In the annual fright fest Halloween episode, Sideshow Bob finally
|
25
|
+
kills Bart, only to reanimate him; Homer wakes up with short-term memory loss;
|
26
|
+
and Lisa, Bart, and Milhouse get super powers from radiation.
|
27
|
+
:url: "/video/551643715972"
|
data/lib/data/season-4.yml
CHANGED
@@ -82,8 +82,7 @@
|
|
82
82
|
17:
|
83
83
|
:title: Last Exit to Springfield
|
84
84
|
:description: Homer is elected union leader at the power plant and tries to save
|
85
|
-
the dental plan so he will not have to pay for Lisa's new braces.
|
86
|
-
by FXX.
|
85
|
+
the dental plan so he will not have to pay for Lisa's new braces.
|
87
86
|
:url: "/video/357630019692"
|
88
87
|
18:
|
89
88
|
:title: 'So It''s Come to This: A Simpsons Clip Show'
|
data/lib/data/season-8.yml
CHANGED
@@ -39,90 +39,90 @@
|
|
39
39
|
:title: Hurricane Neddy
|
40
40
|
:description: Ned Flanders suffers a breakdown after his home is destroyed by
|
41
41
|
a hurricane.
|
42
|
-
:url: "/video/
|
42
|
+
:url: "/video/436250179702"
|
43
43
|
9:
|
44
|
-
:title: El Viaje Misterioso de Nuestro
|
44
|
+
:title: El Viaje Misterioso de Nuestro Jomer (The Mysterious Voyage of Homer)
|
45
45
|
:description: After ingesting several Guatemalan peppers during chili cook-off,
|
46
46
|
Homer experiences hallucinatory visions that inspire him to find his true soul
|
47
47
|
mate in life.
|
48
|
-
:url: "/video/
|
48
|
+
:url: "/video/436252739905"
|
49
49
|
10:
|
50
50
|
:title: The Springfield Files
|
51
51
|
:description: X-Files Agents Mulder and Scully investigate Homer's encounter with
|
52
52
|
an alleged extraterrestrial.
|
53
|
-
:url: "/video/
|
53
|
+
:url: "/video/436259395954"
|
54
54
|
11:
|
55
55
|
:title: The Twisted World of Marge Simpson
|
56
56
|
:description: After being expelled from an investment club, Marge starts her own
|
57
57
|
pretzel franchise.
|
58
|
-
:url: "/video/
|
58
|
+
:url: "/video/436264515927"
|
59
59
|
12:
|
60
60
|
:title: Mountain of Madness
|
61
61
|
:description: Homer and Mr. Burns are buried beneath an avalanche during a survival
|
62
62
|
trek in the mountains.
|
63
|
-
:url: "/video/
|
63
|
+
:url: "/video/436267075791"
|
64
64
|
13:
|
65
65
|
:title: Simpsoncalifragilisticexpiala(Annoyed Grunt)cious
|
66
66
|
:description: The Simpsons hire a Mary Poppins-like nanny when Marge becomes overwhelmed
|
67
67
|
by the demands of being a housewife.
|
68
|
-
:url: "/video/
|
68
|
+
:url: "/video/436271683676"
|
69
69
|
14:
|
70
70
|
:title: The Itchy and Scratchy and Poochie Show
|
71
71
|
:description: When ratings for Itchy & Scratchy cartoons plummet, a studio committee
|
72
72
|
creates a new, hipper character and hires Homer to provide the voice.
|
73
|
-
:url: "/video/
|
73
|
+
:url: "/video/436278339668"
|
74
74
|
15:
|
75
75
|
:title: Homer's Phobia
|
76
76
|
:description: Homer grows homophobic after he realizes the family's new friend
|
77
77
|
is gay.
|
78
|
-
:url: "/video/
|
78
|
+
:url: "/video/436284995621"
|
79
79
|
16:
|
80
80
|
:title: Brother from Another Series
|
81
81
|
:description: Bart fears the worst when Sideshow Bob wins release from prison
|
82
82
|
by claiming he is a reformed man and is hired by his brother to work on a construction
|
83
83
|
project.
|
84
|
-
:url: "/video/
|
84
|
+
:url: "/video/436296259771"
|
85
85
|
17:
|
86
86
|
:title: My Sister, My Sitter
|
87
87
|
:description: Homer and Marge allow Lisa to baby-sit Bart.
|
88
|
-
:url: "/video/
|
88
|
+
:url: "/video/436301891875"
|
89
89
|
18:
|
90
90
|
:title: Homer vs. the Eighteenth Amendment
|
91
91
|
:description: Homer turns bootlegger when Springfield enforces an antiquated prohibition
|
92
92
|
law.
|
93
|
-
:url: "/video/
|
93
|
+
:url: "/video/436402755605"
|
94
94
|
19:
|
95
95
|
:title: Grade School Confidential
|
96
96
|
:description: Bart exposes Skinner and Krabappel's clandestine affair.
|
97
|
-
:url: "/video/
|
97
|
+
:url: "/video/436412995642"
|
98
98
|
20:
|
99
99
|
:title: The Canine Mutiny
|
100
100
|
:description: Bart gives away Santa's Little Helper so he can keep a fully trained,
|
101
101
|
blue ribbon Collie.
|
102
|
-
:url: "/video/
|
102
|
+
:url: "/video/436370499586"
|
103
103
|
21:
|
104
104
|
:title: The Old Man and the Lisa
|
105
105
|
:description: Lisa helps Mr. Burns build a recycling center after a series of
|
106
106
|
bad investments costs the multimillionaire his fortune.
|
107
|
-
:url: "/video/
|
107
|
+
:url: "/video/436383811985"
|
108
108
|
22:
|
109
109
|
:title: In Marge We Trust
|
110
110
|
:description: Marge becomes a church volunteer. Homer discovers his image printed
|
111
111
|
on a box of Japanese dish detergent.
|
112
|
-
:url: "/video/
|
112
|
+
:url: "/video/436438595644"
|
113
113
|
23:
|
114
114
|
:title: Homer's Enemy
|
115
115
|
:description: A resentful, hard-working employee at the power plant makes Homer
|
116
116
|
his enemy. Bart purchases an abandoned factory for one dollar at a government
|
117
117
|
auction.
|
118
|
-
:url: "/video/
|
118
|
+
:url: "/video/436466755640"
|
119
119
|
24:
|
120
120
|
:title: The Simpsons Spin-Off Showcase
|
121
121
|
:description: Troy McClure hosts three spin-offs from "The Simpsons" television
|
122
122
|
show.
|
123
|
-
:url: "/video/
|
123
|
+
:url: "/video/436481091875"
|
124
124
|
25:
|
125
125
|
:title: The Secret War of Lisa Simpson
|
126
126
|
:description: Cadets give Lisa the "silent treatment" when she enrolls in an all-male
|
127
127
|
military academy.
|
128
|
-
:url: "/video/
|
128
|
+
:url: "/video/436494915559"
|
data/lib/data/season-9.yml
CHANGED
@@ -3,121 +3,121 @@
|
|
3
3
|
- 1:
|
4
4
|
:title: The City of New York vs. Homer Simpson
|
5
5
|
:description: The Simpsons journey to New York City to retrieve the family car.
|
6
|
-
:url: "/video/
|
6
|
+
:url: "/video/436516931611"
|
7
7
|
2:
|
8
8
|
:title: The Principal and the Pauper
|
9
9
|
:description: A stranger claims that Principal Skinner is an impostor.
|
10
|
-
:url: "/video/
|
10
|
+
:url: "/video/436505155662"
|
11
11
|
3:
|
12
12
|
:title: Lisa's Sax
|
13
13
|
:description: Homer and Marge recount how Lisa got her saxophone.
|
14
|
-
:url: "/video/
|
14
|
+
:url: "/video/452633155882"
|
15
15
|
4:
|
16
16
|
:title: Treehouse of Horror VIII
|
17
17
|
:description: Homer battles killer mutants after Springfield is destroyed by a
|
18
18
|
nuclear blast; a matter- transportation device melds Bart with a housefly; in
|
19
19
|
Colonial times, Marge is accused of being a witch.
|
20
|
-
:url: "/video/
|
20
|
+
:url: "/video/448291907952"
|
21
21
|
5:
|
22
22
|
:title: The Cartridge Family
|
23
23
|
:description: Homer purchases a handgun to protect his family.
|
24
|
-
:url: "/video/
|
24
|
+
:url: "/video/448294467564"
|
25
25
|
6:
|
26
26
|
:title: Bart Star
|
27
27
|
:description: Homer becomes coach of the Springfield Pee Wee Football team and
|
28
28
|
appoints Bart as starting quarterback.
|
29
|
-
:url: "/video/
|
29
|
+
:url: "/video/448293443714"
|
30
30
|
7:
|
31
31
|
:title: The Two Mrs. Nahasapeemapetilons
|
32
32
|
:description: In an effort to annul an arranged marriage, Apu tells his mother
|
33
33
|
he wed Marge.
|
34
|
-
:url: "/video/
|
34
|
+
:url: "/video/448296003524"
|
35
35
|
8:
|
36
36
|
:title: Lisa the Skeptic
|
37
37
|
:description: Townspeople believe Lisa has unearthed the fossilized remains of
|
38
38
|
an angel.
|
39
|
-
:url: "/video/
|
39
|
+
:url: "/video/448303171879"
|
40
40
|
9:
|
41
41
|
:title: Realty Bites
|
42
42
|
:description: Marge gets a job with a realty firm, but her honesty costs her lucrative
|
43
43
|
sales. Homer purchases a 60s hot-rod convertible at a police auction.
|
44
|
-
:url: "/video/
|
44
|
+
:url: "/video/448327747871"
|
45
45
|
10:
|
46
46
|
:title: Miracle on Evergreen Terrace
|
47
47
|
:description: People throughout Springfield open their hearts and wallets after
|
48
48
|
Bart claims the family's Christmas presents were stolen by a burglar.
|
49
|
-
:url: "/video/
|
49
|
+
:url: "/video/448327235783"
|
50
50
|
11:
|
51
51
|
:title: All Singing, All Dancing
|
52
52
|
:description: The Simpsons recall their many musical moments from seasons past.
|
53
|
-
:url: "/video/
|
53
|
+
:url: "/video/448329283741"
|
54
54
|
12:
|
55
55
|
:title: Bart Carny
|
56
56
|
:description: A carnival worker and his son move in with the Simpsons after Homer
|
57
57
|
costs them their jobs.
|
58
|
-
:url: "/video/
|
58
|
+
:url: "/video/448328260001"
|
59
59
|
13:
|
60
60
|
:title: The Joy of Sect
|
61
61
|
:description: Marge tries her hand at deprogramming after her family is brainwashed
|
62
62
|
by a religious cult.
|
63
|
-
:url: "/video/
|
63
|
+
:url: "/video/448360003557"
|
64
64
|
14:
|
65
65
|
:title: Das Bus
|
66
66
|
:description: Bart, Lisa and their classmates fight for survival when they become
|
67
67
|
stranded on a remote island. Homer starts his own business on the Internet.
|
68
|
-
:url: "/video/
|
68
|
+
:url: "/video/448356931860"
|
69
69
|
15:
|
70
70
|
:title: The Last Temptation of Krust
|
71
71
|
:description: Krusty shuns his old routines in favor of edgier material and suddenly
|
72
72
|
becomes the hottest comic in show business.
|
73
|
-
:url: "/video/
|
73
|
+
:url: "/video/448458819708"
|
74
74
|
16:
|
75
75
|
:title: Dumbbell Indemnity
|
76
76
|
:description: When Moe goes broke romancing his new love, he enlists Homer in
|
77
77
|
a scheme to collect on an insurance policy.
|
78
|
-
:url: "/video/
|
78
|
+
:url: "/video/448362563638"
|
79
79
|
17:
|
80
80
|
:title: Lisa the Simpson
|
81
81
|
:description: Lisa fears she is genetically predisposed to lose her intelligence.
|
82
82
|
Apu uses a frozen Jasper as a tourist attraction.
|
83
|
-
:url: "/video/
|
83
|
+
:url: "/video/448367683932"
|
84
84
|
18:
|
85
85
|
:title: This Little Wiggy
|
86
86
|
:description: Bart is appalled when Marge pairs him with Ralph Wiggum.
|
87
|
-
:url: "/video/
|
87
|
+
:url: "/video/448460355723"
|
88
88
|
19:
|
89
89
|
:title: Simpson Tide
|
90
90
|
:description: Homer becomes the captain of a Navy submarine. Bart gets his ear
|
91
91
|
pierced.
|
92
|
-
:url: "/video/
|
92
|
+
:url: "/video/448460867557"
|
93
93
|
20:
|
94
94
|
:title: The Trouble with Trillions
|
95
95
|
:description: When a tax audit lands him in hot water, Homer goes undercover for
|
96
96
|
the government and attempts to retrieve a trillion dollar note from Mr. Burns.
|
97
|
-
:url: "/video/
|
97
|
+
:url: "/video/448460355614"
|
98
98
|
21:
|
99
99
|
:title: Girly Edition
|
100
100
|
:description: Bart attempts to upstage Lisa when the pair co-host a children's
|
101
101
|
news program. Homer obtains a helper monkey.
|
102
|
-
:url: "/video/
|
102
|
+
:url: "/video/448386115705"
|
103
103
|
22:
|
104
104
|
:title: Trash of the Titans
|
105
|
-
:description: Homer enters the race for Sanitation Commissioner after
|
106
|
-
|
107
|
-
:url: "/video/
|
105
|
+
:description: Homer enters the race for Sanitation Commissioner after garbagemen
|
106
|
+
refuse to collect his trash.
|
107
|
+
:url: "/video/448383555846"
|
108
108
|
23:
|
109
109
|
:title: King of the Hill
|
110
110
|
:description: After improving his physique, Homer attempts to climb a treacherous
|
111
111
|
mountain.
|
112
|
-
:url: "/video/
|
112
|
+
:url: "/video/467593795648"
|
113
113
|
24:
|
114
114
|
:title: Lost Our Lisa
|
115
115
|
:description: Lisa gets lost in an unfamiliar part of town while searching for
|
116
116
|
a museum. Bart adheres novelties to his face only to discover they cannot be
|
117
117
|
removed.
|
118
|
-
:url: "/video/
|
118
|
+
:url: "/video/467595331852"
|
119
119
|
25:
|
120
120
|
:title: Natural Born Kissers
|
121
121
|
:description: Homer and Marge discover the secret to reigniting their sex life.
|
122
122
|
Bart and Lisa hunt for hidden treasure using Grampa's old mine sweeper.
|
123
|
-
:url: "/video/
|
123
|
+
:url: "/video/467599939876"
|
@@ -12,10 +12,10 @@ module SimpsonsWorld
|
|
12
12
|
seasons.each_with_index do |season, i|
|
13
13
|
number = season.attr 'data-season-number'
|
14
14
|
episodes = season.css("ul.items > li").map.with_index(1) { |episode, j|
|
15
|
-
[ j,
|
15
|
+
[ j,
|
16
16
|
{
|
17
17
|
title: episode.css('.category-thumb-expanded .thumbnail-text').text,
|
18
|
-
description: episode.css('.category-thumb-expanded .thumbnail-extra-text').text,
|
18
|
+
description: clean_description(episode.css('.category-thumb-expanded .thumbnail-extra-text').text),
|
19
19
|
url: episode.css('a')[0]['href']
|
20
20
|
}
|
21
21
|
]
|
@@ -23,6 +23,11 @@ module SimpsonsWorld
|
|
23
23
|
SimpsonsWorld::Season.new(number, episodes)
|
24
24
|
end
|
25
25
|
end
|
26
|
+
|
27
|
+
def self.clean_description str
|
28
|
+
str.gsub(/SEASON PREMIERE\.|Presented by FXX\./i, '').strip
|
29
|
+
end
|
30
|
+
|
26
31
|
end
|
27
32
|
|
28
33
|
end
|
data/simpsons_world.gemspec
CHANGED
@@ -20,9 +20,9 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.7"
|
22
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
-
spec.add_development_dependency "nokogiri"
|
24
|
-
spec.add_development_dependency "rspec"
|
25
|
-
spec.add_development_dependency "rspec-nc"
|
26
|
-
spec.add_development_dependency "guard"
|
27
|
-
spec.add_development_dependency "guard-rspec"
|
23
|
+
spec.add_development_dependency "nokogiri", "~> 1.6"
|
24
|
+
spec.add_development_dependency "rspec", "~> 3.1"
|
25
|
+
spec.add_development_dependency "rspec-nc", "~> 0.2.0"
|
26
|
+
spec.add_development_dependency "guard", "~> 2.11"
|
27
|
+
spec.add_development_dependency "guard-rspec", "~> 4.5"
|
28
28
|
end
|
data/spec/simpsons_world_spec.rb
CHANGED
@@ -51,7 +51,7 @@ describe SimpsonsWorld do
|
|
51
51
|
it "should set #{EPISODE_COUNT} episodes" do
|
52
52
|
expect( @season.episodes.count ).to eql(EPISODE_COUNT)
|
53
53
|
end
|
54
|
-
|
54
|
+
|
55
55
|
it "should save the data to file" do
|
56
56
|
expect File.exists?(SimpsonsWorld::Season::to_file_path(@season.number))
|
57
57
|
end
|
@@ -80,7 +80,7 @@ describe SimpsonsWorld do
|
|
80
80
|
end
|
81
81
|
|
82
82
|
it "should not find a non-existent season" do
|
83
|
-
expect { SimpsonsWorld::Season.find(50) }.to
|
83
|
+
expect { SimpsonsWorld::Season.find(50) }.to raise_exception SimpsonsWorld::NoEpisodeError
|
84
84
|
end
|
85
85
|
|
86
86
|
it 'should return the correct episode' do
|
@@ -91,6 +91,16 @@ describe SimpsonsWorld do
|
|
91
91
|
expect( @season.episodes[1][:url] ).to eql("/path/s1-e1")
|
92
92
|
end
|
93
93
|
|
94
|
+
it 'should strip "Presented by FXX." in descriptions' do
|
95
|
+
description = 'Description 1.'
|
96
|
+
expect( SimpsonsWorld::Scrape::clean_description("#{description} Presented by FXX.") ).to eql( description )
|
97
|
+
end
|
98
|
+
|
99
|
+
it 'should strip "SEASON PREMIERE." in descriptions' do
|
100
|
+
description = 'Description 1.'
|
101
|
+
expect( SimpsonsWorld::Scrape::clean_description("#{description} SEASON PREMIERE.") ).to eql( description )
|
102
|
+
end
|
103
|
+
|
94
104
|
describe "url finders" do
|
95
105
|
before(:all) do
|
96
106
|
@view = Object.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simpsons_world
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mcianni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -42,72 +42,72 @@ dependencies:
|
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '1.6'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '1.6'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-nc
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.2.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.2.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: guard
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '2.11'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '2.11'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: guard-rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '4.5'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '4.5'
|
111
111
|
description: Generate a full url from an episode number to a Simpsons episode streaming
|
112
112
|
on SimpsonsWorld.com.
|
113
113
|
email:
|
@@ -142,6 +142,7 @@ files:
|
|
142
142
|
- lib/data/season-24.yml
|
143
143
|
- lib/data/season-25.yml
|
144
144
|
- lib/data/season-26.yml
|
145
|
+
- lib/data/season-27.yml
|
145
146
|
- lib/data/season-3.yml
|
146
147
|
- lib/data/season-4.yml
|
147
148
|
- lib/data/season-5.yml
|