social_ite 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/data/characters.csv +96 -0
- data/lib/data/tvshownames.csv +853 -0
- data/lib/social_ite.rb +26 -0
- data/lib/social_ite/version.rb +3 -0
- data/scraping/scrape.rb +56 -0
- data/social_ite.gemspec +23 -0
- metadata +83 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 52ccee2412dd6a34a90283031a4531be2d6bb4c7
|
4
|
+
data.tar.gz: 68d9bdfe341b9a11e07f71e05bb5ad71c94a52fd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: dd8d4f708209a62b51898f97e2191754553c8b1c82afd35b683eb47bcb396bd1cf4cc164001eb50d003b3d422de1a0c02c50e10998e1b99c630c148d6eeb7907
|
7
|
+
data.tar.gz: 1aa5a3079bc4118ea504363d6e373f7a66bade6d9fd2334611d916a0f9b2c252652f0a6549f5d71576376f2e68630c1ce105b7980fc192e91aa7285410fb1182
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Mohit Ramchandani
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# SocialIte
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'social_ite'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install social_ite
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,96 @@
|
|
1
|
+
Tim Riggins
|
2
|
+
The Bride
|
3
|
+
Lisbeth Salander
|
4
|
+
Violet Weston
|
5
|
+
Bernie Mac
|
6
|
+
Wilhelmina
|
7
|
+
Truman
|
8
|
+
Game Boys: Nathan Drake
|
9
|
+
Christopher Boone
|
10
|
+
Hancock
|
11
|
+
Marge Gunderson
|
12
|
+
Wikus van de Merwe
|
13
|
+
Napoleon Dynamite
|
14
|
+
Tony Stark
|
15
|
+
Karen Walker and Jack McFarland
|
16
|
+
Daniel Plainview
|
17
|
+
Dr. Gregory House
|
18
|
+
Jen Yu
|
19
|
+
Tracy Flick
|
20
|
+
Amanda Woodward
|
21
|
+
"Gorillaz, the animated rock"
|
22
|
+
Elphaba
|
23
|
+
Patty Hewes
|
24
|
+
Mimi Marquez
|
25
|
+
Tyler Durden
|
26
|
+
David Brent
|
27
|
+
Don Draper
|
28
|
+
Catherine Trammell
|
29
|
+
Kara “Starbuck” Thrace
|
30
|
+
Det. Alonzo Harris
|
31
|
+
Mary Katherine Gallagher
|
32
|
+
Miranda Priestly
|
33
|
+
Effie White
|
34
|
+
Borat
|
35
|
+
Allie and Noah
|
36
|
+
Lorelai and Rory Gilmore
|
37
|
+
Maximus
|
38
|
+
John Locke
|
39
|
+
Jimmy Corrigan
|
40
|
+
Vic Mackey
|
41
|
+
Mary Jones
|
42
|
+
Master Chief
|
43
|
+
Thelma and Louise
|
44
|
+
Clayton Bigsby
|
45
|
+
Barney Stinson
|
46
|
+
Tracy Jordan
|
47
|
+
Juno
|
48
|
+
Edward Cullen
|
49
|
+
Annie Wilkes
|
50
|
+
Omar Little
|
51
|
+
Pearl the Landlord
|
52
|
+
Vivian Ward
|
53
|
+
Red
|
54
|
+
Corky St.
|
55
|
+
Jerry Maguire
|
56
|
+
Stewie Griffin
|
57
|
+
Jack Bauer
|
58
|
+
Cal Stephanides
|
59
|
+
Sydney Bristow
|
60
|
+
Harold and Kumar
|
61
|
+
Ron Burgundy
|
62
|
+
Gob Bluth
|
63
|
+
Elmo
|
64
|
+
Keyser Söze
|
65
|
+
Gollum
|
66
|
+
Dexter Morgan
|
67
|
+
Cher
|
68
|
+
Sarah Connor
|
69
|
+
Beavis and Butt-Head
|
70
|
+
Forrest Gump
|
71
|
+
“Stephen Colbert”
|
72
|
+
Vincent Vega and Jules Winnfield
|
73
|
+
Madea
|
74
|
+
Frasier
|
75
|
+
Kavalier and Clay
|
76
|
+
Woody
|
77
|
+
Felicity Porter
|
78
|
+
Austin Powers
|
79
|
+
Eric Cartman
|
80
|
+
Ally McBeal
|
81
|
+
Morpheus
|
82
|
+
Lara Croft
|
83
|
+
Bridget Jones
|
84
|
+
Shrek
|
85
|
+
Jeff “The Dude” Lebowski
|
86
|
+
Jack Sparrow
|
87
|
+
Fox Mulder and Dana Scully
|
88
|
+
Cosmo Kramer
|
89
|
+
SpongeBob SquarePants
|
90
|
+
Carrie Bradshaw
|
91
|
+
Hannibal Lecter
|
92
|
+
Edward Scissorhands
|
93
|
+
Rachel Green
|
94
|
+
The Joker
|
95
|
+
Tony Soprano
|
96
|
+
Homer Simpson
|
@@ -0,0 +1,853 @@
|
|
1
|
+
How I Met Your Mother
|
2
|
+
The Big Bang Theory
|
3
|
+
New Girl
|
4
|
+
Modern Family
|
5
|
+
Breaking Ba
|
6
|
+
Dexter
|
7
|
+
Homeland
|
8
|
+
Grey's Anatomy
|
9
|
+
The Vampire Diaries
|
10
|
+
Sons Of Anarchy
|
11
|
+
Glee
|
12
|
+
Mad Men
|
13
|
+
1600 Penn
|
14
|
+
2 Broke Girls
|
15
|
+
30 Rock
|
16
|
+
32 Brinkburn Street
|
17
|
+
666 Park Avenue
|
18
|
+
90210
|
19
|
+
A Gifted Man
|
20
|
+
A Place To Call Home
|
21
|
+
A Young Doctor's Notebook
|
22
|
+
Acapulco H.e.a.t.
|
23
|
+
Accused
|
24
|
+
Adventure Inc.
|
25
|
+
After Lately
|
26
|
+
Against The Wall
|
27
|
+
Alcatraz
|
28
|
+
Alf
|
29
|
+
Alias
|
30
|
+
Alien Mysteries
|
31
|
+
Allen Gregory
|
32
|
+
Ally Mcbeal
|
33
|
+
Alphas
|
34
|
+
Ambassadors
|
35
|
+
America Unearthed
|
36
|
+
America's Got Talent
|
37
|
+
America's Next Top Model
|
38
|
+
America's Supernanny
|
39
|
+
American Dad!
|
40
|
+
American Dreams
|
41
|
+
American Horror Story
|
42
|
+
American Idol
|
43
|
+
An Idiot Abroad
|
44
|
+
Andromeda
|
45
|
+
Angel
|
46
|
+
Anger Management
|
47
|
+
Animal Practice
|
48
|
+
Anna & Katy
|
49
|
+
Archer
|
50
|
+
Arctic Air
|
51
|
+
"Are You There, Chelsea?"
|
52
|
+
Army Wives
|
53
|
+
Arrested Development
|
54
|
+
Arrow
|
55
|
+
Atlantis
|
56
|
+
Automan
|
57
|
+
Awake
|
58
|
+
Awkward
|
59
|
+
Baby Daddy
|
60
|
+
Back In The Game
|
61
|
+
Bad Girls All Star Battle
|
62
|
+
Bankers
|
63
|
+
Banshee
|
64
|
+
Barabbas
|
65
|
+
Bates Motel
|
66
|
+
Battlestar Galactica
|
67
|
+
Baywatch
|
68
|
+
Beauty And The Beast (2012)
|
69
|
+
Beaver Falls
|
70
|
+
Becker
|
71
|
+
Being Erica
|
72
|
+
Being Human Us
|
73
|
+
Belle's
|
74
|
+
Ben 10: Omniverse
|
75
|
+
Ben And Kate
|
76
|
+
Bering Sea Gold
|
77
|
+
Bering Sea Gold: Under The Ice
|
78
|
+
Best Friends Forever
|
79
|
+
Bet On Your Baby
|
80
|
+
Betrayal
|
81
|
+
Betty White's Off Their Rockers
|
82
|
+
Beverly Hills Pawn
|
83
|
+
Beware The Batman
|
84
|
+
Big Brother
|
85
|
+
Big Brother Canada
|
86
|
+
Big Love
|
87
|
+
Big Rich Atlanta
|
88
|
+
Birdsong
|
89
|
+
Black Books
|
90
|
+
Black Mirror
|
91
|
+
Black Ink Crew
|
92
|
+
Blade: The Series
|
93
|
+
Blandings
|
94
|
+
Blue Bloods
|
95
|
+
Blue Mountain State
|
96
|
+
Bluestone 42
|
97
|
+
Boardwalk Empire
|
98
|
+
Bob's Burgers
|
99
|
+
Body Of Proof
|
100
|
+
Bomb Girls
|
101
|
+
Bones
|
102
|
+
Bored To Death
|
103
|
+
Boss
|
104
|
+
Boston Legal
|
105
|
+
Boston's Finest
|
106
|
+
Bounty Hunters
|
107
|
+
Breaking Bad
|
108
|
+
Breaking In
|
109
|
+
Breaking Pointe
|
110
|
+
Breakout Kings
|
111
|
+
Brickleberry
|
112
|
+
Broadchurch
|
113
|
+
Brooklyn Nine-nine
|
114
|
+
Brothers & Sisters
|
115
|
+
Buffy The Vampire Slayer
|
116
|
+
Bunheads
|
117
|
+
Burn Notice
|
118
|
+
By Any Means
|
119
|
+
Californication
|
120
|
+
Call The Midwife
|
121
|
+
Camelot
|
122
|
+
Camp
|
123
|
+
Carnivale
|
124
|
+
Caprica
|
125
|
+
Capture
|
126
|
+
Casper The Friendly Ghost
|
127
|
+
Castle
|
128
|
+
Catfish: The Tv Show
|
129
|
+
Cedar Cove
|
130
|
+
Chaos
|
131
|
+
Charmed
|
132
|
+
Chase
|
133
|
+
Chasing The Saturdays
|
134
|
+
Cheers
|
135
|
+
Chicago Fire
|
136
|
+
Chicago Hope
|
137
|
+
Chuck
|
138
|
+
City Girl Diaries
|
139
|
+
Cold Case
|
140
|
+
Cold Feet
|
141
|
+
Columbo
|
142
|
+
Combat Hospital
|
143
|
+
Comic Book Men
|
144
|
+
Common Law
|
145
|
+
Community
|
146
|
+
Continuum
|
147
|
+
Conviction
|
148
|
+
Copper
|
149
|
+
Cougar Town
|
150
|
+
Coupling
|
151
|
+
Covert Affairs
|
152
|
+
Cracked
|
153
|
+
Crime Story
|
154
|
+
Criminal Minds
|
155
|
+
Crossing Lines
|
156
|
+
Crownies
|
157
|
+
Csi
|
158
|
+
Csi: Miami
|
159
|
+
Csi: Ny
|
160
|
+
Cult
|
161
|
+
Curb Your Enthusiasm
|
162
|
+
Da Vinci's Demons
|
163
|
+
Dads
|
164
|
+
Dallas (2012)
|
165
|
+
Damages
|
166
|
+
Dancing On The Edge
|
167
|
+
Dancing With The Stars
|
168
|
+
Daria
|
169
|
+
Dark Angel
|
170
|
+
Dark Blue
|
171
|
+
Dawson's Creek
|
172
|
+
Day Break
|
173
|
+
Dci Banks
|
174
|
+
Dead Like Me
|
175
|
+
Deadwood
|
176
|
+
Death In Paradise
|
177
|
+
Death Valley
|
178
|
+
Defying Gravity
|
179
|
+
Deon Cole's Black Box
|
180
|
+
Derek
|
181
|
+
Desperate Housewives
|
182
|
+
Dexter
|
183
|
+
Devious Maids
|
184
|
+
Dharma & Greg
|
185
|
+
Dirty Sexy Money
|
186
|
+
Do No Harm
|
187
|
+
Doctor Who
|
188
|
+
Does Someone Have To Go?
|
189
|
+
Dollhouse
|
190
|
+
Double Divas
|
191
|
+
Downton Abbey
|
192
|
+
Dracula
|
193
|
+
Drawn Together
|
194
|
+
Drop Dead Diva
|
195
|
+
Drunk History
|
196
|
+
Eagleheart
|
197
|
+
Eastbound And Down
|
198
|
+
Eastwick
|
199
|
+
"Eat, Drink, Love"
|
200
|
+
Eerie Indiana
|
201
|
+
Elementary
|
202
|
+
Eleventh Hour
|
203
|
+
Eli Stone
|
204
|
+
Emily Owens M.d.
|
205
|
+
Empire Girls: Julissa & Adrienne
|
206
|
+
Endeavour
|
207
|
+
Endgame
|
208
|
+
Enlightened
|
209
|
+
Entourage
|
210
|
+
Episodes
|
211
|
+
Eureka
|
212
|
+
Everybody Hates Chris
|
213
|
+
Everwood
|
214
|
+
Ex-wives Of Rock
|
215
|
+
Exit
|
216
|
+
Extras
|
217
|
+
Face Off
|
218
|
+
Failosophy
|
219
|
+
Fairly Legal
|
220
|
+
Falling Skies
|
221
|
+
Family Guy
|
222
|
+
Family Tools
|
223
|
+
Family Tree
|
224
|
+
Fangasm
|
225
|
+
Fashion Star
|
226
|
+
Fastlane
|
227
|
+
Father Ted
|
228
|
+
Fawlty Towers
|
229
|
+
Fear Itself
|
230
|
+
Felicity
|
231
|
+
Femme Fatales
|
232
|
+
Finding Your Roots
|
233
|
+
Firefly
|
234
|
+
Flashforward
|
235
|
+
Flight Of The Conchords
|
236
|
+
Flipper (1995)
|
237
|
+
Fm
|
238
|
+
"Food, Glorious Food"
|
239
|
+
Franklin & Bash
|
240
|
+
Frasier
|
241
|
+
Freakshow
|
242
|
+
Freaks And Geeks
|
243
|
+
Freddie
|
244
|
+
Friday Night Lights
|
245
|
+
Friends
|
246
|
+
Fringe
|
247
|
+
Frozen Planet
|
248
|
+
Futurama
|
249
|
+
Game Of Thrones
|
250
|
+
Gary Unmarried
|
251
|
+
Gavin & Stacey
|
252
|
+
Gcb
|
253
|
+
Generation Kill
|
254
|
+
Ghost Whisperer
|
255
|
+
Gilmore Girls
|
256
|
+
Girl Code
|
257
|
+
Girls
|
258
|
+
Glee
|
259
|
+
Glory Daze
|
260
|
+
Go On
|
261
|
+
Golden Boy
|
262
|
+
Golden Girls
|
263
|
+
Good Vibes
|
264
|
+
Goodnight Sweetheart
|
265
|
+
Gossip Girl
|
266
|
+
Graceland
|
267
|
+
Gravity
|
268
|
+
Gravity Falls
|
269
|
+
Green Lantern: The Animated Series
|
270
|
+
Greek
|
271
|
+
Grey's Anatomy
|
272
|
+
Grimm
|
273
|
+
Guinness World Records Gone Wild
|
274
|
+
Guys With Kids
|
275
|
+
Gypsy Sisters
|
276
|
+
Hannah Montana
|
277
|
+
Hannibal
|
278
|
+
Happily Divorced
|
279
|
+
Happy Endings
|
280
|
+
Hardcore Pawn: Chicago
|
281
|
+
Harry's Law
|
282
|
+
Hart Of Dixie
|
283
|
+
Haven
|
284
|
+
Hawaii Five-0
|
285
|
+
Heading Out
|
286
|
+
Hell On Wheels
|
287
|
+
Hell's Kitchen
|
288
|
+
Hellcats
|
289
|
+
Hello Ladies
|
290
|
+
Heroes
|
291
|
+
Hit & Miss
|
292
|
+
Hit The Floor
|
293
|
+
Hollywood Exes
|
294
|
+
Homeland
|
295
|
+
Hollywood Game Night
|
296
|
+
Hostages
|
297
|
+
Hot In Cleveland
|
298
|
+
Hot Listings Miami
|
299
|
+
Hotel Babylon
|
300
|
+
Hotel Hell
|
301
|
+
House
|
302
|
+
House Of Cards
|
303
|
+
House Of Curves
|
304
|
+
House Of Lies
|
305
|
+
How I Met Your Mother
|
306
|
+
How To Make It In America
|
307
|
+
How To Live With Your Parents (for The Rest Of Your Life)
|
308
|
+
Human Planet
|
309
|
+
Human Target
|
310
|
+
Hunderby
|
311
|
+
Hung
|
312
|
+
Hunted
|
313
|
+
Hustle
|
314
|
+
I Hate My Teenage Daughter
|
315
|
+
Identity
|
316
|
+
Immortalized
|
317
|
+
In The Flesh
|
318
|
+
Inside Amy Schumer
|
319
|
+
Inside Comedy
|
320
|
+
Into The West
|
321
|
+
Iron Man: Armored Adventures
|
322
|
+
Inspector George Gently
|
323
|
+
Ironside
|
324
|
+
It's Always Sunny In Philadelphia
|
325
|
+
Jane By Design
|
326
|
+
Jekyll
|
327
|
+
Jeremiah
|
328
|
+
Jericho
|
329
|
+
John From Cincinnati
|
330
|
+
Justified
|
331
|
+
K-ville
|
332
|
+
Keeping Up With The Kardashians
|
333
|
+
Kesha: My Crazy Beautiful Life
|
334
|
+
Kidnap And Ransom
|
335
|
+
Kidnapped
|
336
|
+
Kimora: House Of Fab
|
337
|
+
King
|
338
|
+
King & Maxwell
|
339
|
+
King Of The Nerds
|
340
|
+
Kingdom
|
341
|
+
Knight Rider
|
342
|
+
Kolchak: The Night Stalker
|
343
|
+
Kourtney And Kim Take Miami
|
344
|
+
Kourtney And Kim Take New York
|
345
|
+
Kroll Show
|
346
|
+
Kyle Xy
|
347
|
+
L.a. Hair
|
348
|
+
La Femme Nikita
|
349
|
+
La Shrinks
|
350
|
+
Labyrinth
|
351
|
+
Land Of The Giants
|
352
|
+
Last Man Standing
|
353
|
+
Last Resort
|
354
|
+
Law & Order: Special Victims Unit
|
355
|
+
Legend Of The Seeker
|
356
|
+
Legit
|
357
|
+
Let's Stay Together
|
358
|
+
Leverage
|
359
|
+
Lie To Me
|
360
|
+
Life
|
361
|
+
Life Of Crime
|
362
|
+
Life On Mars
|
363
|
+
Life Unexpected
|
364
|
+
Life's Too Short
|
365
|
+
Lightfields
|
366
|
+
Lilyhammer
|
367
|
+
Lincoln Heights
|
368
|
+
Lip Service
|
369
|
+
Lipstick Jungle
|
370
|
+
Lolwork
|
371
|
+
London Irish
|
372
|
+
Longmire
|
373
|
+
Lost
|
374
|
+
Lost Girl
|
375
|
+
Louie
|
376
|
+
Love & Hip Hop
|
377
|
+
Love & Hip Hop: Atlanta
|
378
|
+
Love Bites
|
379
|
+
Low Winter Sun
|
380
|
+
Luck
|
381
|
+
Lucky 7
|
382
|
+
Luther
|
383
|
+
Macgyver
|
384
|
+
Mad About You
|
385
|
+
Mad Love
|
386
|
+
Mad Men
|
387
|
+
Made In Jersey
|
388
|
+
Magic City
|
389
|
+
Major Crimes
|
390
|
+
Malibu Country
|
391
|
+
Marchlands
|
392
|
+
Marriage Boot Camp: Bridezillas
|
393
|
+
Married... With Children
|
394
|
+
Married To Jonas
|
395
|
+
Married To Medicine
|
396
|
+
Marvel's Agents Of S.h.i.e.l.d.
|
397
|
+
Masters Of Horror
|
398
|
+
Masters Of Sex
|
399
|
+
Max Steel (2013)
|
400
|
+
Mayday
|
401
|
+
Medium
|
402
|
+
Melissa & Joey
|
403
|
+
Memphis Beat
|
404
|
+
Men At Work
|
405
|
+
Men In Trees
|
406
|
+
Men Of A Certain Age
|
407
|
+
Mental
|
408
|
+
Merlin
|
409
|
+
Miami Vice
|
410
|
+
Midnight Caller
|
411
|
+
Mike & Molly
|
412
|
+
Mildred Pierce
|
413
|
+
Millennium
|
414
|
+
Million Dollar Listing Los Angeles
|
415
|
+
Million Dollar Listing New York
|
416
|
+
Misfits
|
417
|
+
Missing (2012)
|
418
|
+
Mistresses
|
419
|
+
Mistresses Us
|
420
|
+
Mob Wives
|
421
|
+
Modern Family
|
422
|
+
Mom
|
423
|
+
Monday Mornings
|
424
|
+
Mongrels
|
425
|
+
Monk
|
426
|
+
Monroe
|
427
|
+
Monster Vs. Aliens
|
428
|
+
Moonlighting
|
429
|
+
Motive
|
430
|
+
Mr. D
|
431
|
+
Mr. Selfridge
|
432
|
+
Mr. Sunshine
|
433
|
+
Murder On The Home Front
|
434
|
+
Murphy Brown
|
435
|
+
Mutant X
|
436
|
+
My Name Is Earl
|
437
|
+
Napoleon Dynamite
|
438
|
+
Nashville
|
439
|
+
Nathan For You
|
440
|
+
Ncis
|
441
|
+
Ncis: Los Angeles
|
442
|
+
Necessary Roughness
|
443
|
+
New Girl
|
444
|
+
Newlyweds: The First Year
|
445
|
+
Newsreaders
|
446
|
+
Nikita
|
447
|
+
Nip/tuck
|
448
|
+
No Heroics
|
449
|
+
No Ordinary Family
|
450
|
+
North & South
|
451
|
+
North And South
|
452
|
+
Nostradamus Effect
|
453
|
+
Nowhere Man
|
454
|
+
Numb3rs
|
455
|
+
Nurse Jackie
|
456
|
+
Nyc 22
|
457
|
+
Odd Folks Home
|
458
|
+
Off Pitch
|
459
|
+
Off The Map
|
460
|
+
Oliver Twist (1999)
|
461
|
+
Omar
|
462
|
+
Once Upon A Time
|
463
|
+
Once Upon A Time In Wonderland
|
464
|
+
One Tree Hill
|
465
|
+
Orange Is The New Black
|
466
|
+
Orphan Black
|
467
|
+
Out There
|
468
|
+
Outcasts
|
469
|
+
Outnumbered
|
470
|
+
Outsourced
|
471
|
+
Over There
|
472
|
+
Oz
|
473
|
+
Package Deal
|
474
|
+
Painkiller Jane
|
475
|
+
Pan Am
|
476
|
+
Paranormal Witness
|
477
|
+
Parenthood
|
478
|
+
Parks And Recreation
|
479
|
+
Partners
|
480
|
+
Party Down
|
481
|
+
Past Life
|
482
|
+
Peaky Blinders
|
483
|
+
Peep Show
|
484
|
+
Perception
|
485
|
+
Perfect Couples
|
486
|
+
Perfect Score
|
487
|
+
Picket Fences
|
488
|
+
Person Of Interest
|
489
|
+
Playing With Fire
|
490
|
+
Playmakers
|
491
|
+
Plebs
|
492
|
+
Police Squad
|
493
|
+
Political Animals
|
494
|
+
Portlandia
|
495
|
+
Pregnant & Dating
|
496
|
+
Pretty Little Liars
|
497
|
+
Pretty Wicked Moms
|
498
|
+
Prime Suspect Us
|
499
|
+
Princesses: Long Island
|
500
|
+
Prison Break
|
501
|
+
Primeval
|
502
|
+
Prisoners' Wives
|
503
|
+
Primeval: New World
|
504
|
+
Private Practice
|
505
|
+
Privileged
|
506
|
+
Profit
|
507
|
+
Prototype This!
|
508
|
+
Psych
|
509
|
+
Psychoville
|
510
|
+
Push Girls
|
511
|
+
Pushing Daisies
|
512
|
+
Queen Of Swords
|
513
|
+
R&b Divas: Los Angeles
|
514
|
+
Raising Hope
|
515
|
+
Rake
|
516
|
+
Ray Donovan
|
517
|
+
Ravenswood
|
518
|
+
Real Husbands Of Hollywood
|
519
|
+
Red Widow
|
520
|
+
Regenesis
|
521
|
+
Reign
|
522
|
+
Relic Hunter
|
523
|
+
Reno 911!
|
524
|
+
Resale Royalty
|
525
|
+
Rescue Me
|
526
|
+
Return To Eden
|
527
|
+
Revenge
|
528
|
+
Revolution
|
529
|
+
Ringer
|
530
|
+
Ripper Street
|
531
|
+
Rizzoli And Isles
|
532
|
+
Rob
|
533
|
+
Robbery Homicide Division
|
534
|
+
Robocop: The Series
|
535
|
+
Robot Combat League
|
536
|
+
Rome
|
537
|
+
Rookie Blue
|
538
|
+
Roots
|
539
|
+
Roswell
|
540
|
+
Royal Pains
|
541
|
+
Rubicon
|
542
|
+
Rude Awakening
|
543
|
+
Rules Of Engagement
|
544
|
+
Run
|
545
|
+
Rupaul's Drag Race
|
546
|
+
Sabrina The Teenage Witch
|
547
|
+
Sam & Cat
|
548
|
+
Samantha Who?
|
549
|
+
Sanctuary
|
550
|
+
Sanya's Glam & Gold
|
551
|
+
Saturday Night Live
|
552
|
+
Save Me
|
553
|
+
Saving Hope
|
554
|
+
Scandal
|
555
|
+
Scooby-doo! Mystery Incorporated
|
556
|
+
Scott & Bailey
|
557
|
+
Scrubbing In
|
558
|
+
Scrubs
|
559
|
+
Sean Saves The World
|
560
|
+
Second Generation Wayans
|
561
|
+
Second Sight
|
562
|
+
See Dad Run
|
563
|
+
Seed
|
564
|
+
Seinfeld
|
565
|
+
Sex And The City
|
566
|
+
Shaft
|
567
|
+
Shahs Of Sunset
|
568
|
+
Shameless Us
|
569
|
+
Shark
|
570
|
+
Shark Tank
|
571
|
+
Sharpe
|
572
|
+
Shattered (2010)
|
573
|
+
Sherlock
|
574
|
+
Shetland
|
575
|
+
Siberia
|
576
|
+
Silent Witness
|
577
|
+
Silver Rush
|
578
|
+
Single Ladies
|
579
|
+
"Sit Down, Shut Up"
|
580
|
+
Six Feet Under
|
581
|
+
Skins
|
582
|
+
Sledge Hammer!
|
583
|
+
Sleeper Cell
|
584
|
+
Sleepy Hollow
|
585
|
+
Small Time Gangster
|
586
|
+
Small Town Security
|
587
|
+
Smallville
|
588
|
+
Smash
|
589
|
+
So You Think You Can Dance
|
590
|
+
Society X With Laura Ling
|
591
|
+
Sofia The First
|
592
|
+
Sons Of Anarchy
|
593
|
+
South Park
|
594
|
+
Southland
|
595
|
+
Spaced
|
596
|
+
Spartacus
|
597
|
+
Spartacus: Blood And Sand
|
598
|
+
Spartacus: Gods Of Arena
|
599
|
+
Spartacus: Vengeance
|
600
|
+
Spartacus: War Of The Damned
|
601
|
+
Spies Of Warsaw
|
602
|
+
Spirited
|
603
|
+
Splash
|
604
|
+
Spooks
|
605
|
+
Star Trek: The Next Generation
|
606
|
+
Star Trek: Voyager
|
607
|
+
Star Wars: The Clone Wars
|
608
|
+
Stargate Atlantis
|
609
|
+
Stargate Universe
|
610
|
+
Starlings
|
611
|
+
Start-ups: Silicon Valley
|
612
|
+
Stephen King's Kingdom Hospital
|
613
|
+
Stranded
|
614
|
+
Strike Back
|
615
|
+
Studio 60 On The Sunset Strip
|
616
|
+
Suburgatory
|
617
|
+
Sugar Dome
|
618
|
+
Suits
|
619
|
+
Summer Camp
|
620
|
+
Supah Ninjas
|
621
|
+
Super Fun Night
|
622
|
+
Supernatural
|
623
|
+
Superjail!
|
624
|
+
Supermarket Superstar
|
625
|
+
Surface
|
626
|
+
Survivor: Blood Vs. Water
|
627
|
+
Swamp Pawn
|
628
|
+
Switch Uk
|
629
|
+
Switched At Birth
|
630
|
+
Talking Dead
|
631
|
+
Teen Titans
|
632
|
+
Teen Wolf
|
633
|
+
Terminator: The Sarah Connor Chronicles
|
634
|
+
Terra Nova
|
635
|
+
Terriers
|
636
|
+
That '70s Show
|
637
|
+
That Music Show
|
638
|
+
That's My Bush!
|
639
|
+
Teenage Mutant Ninja Turtles (2012)
|
640
|
+
The 4400
|
641
|
+
The Adventures Of Tintin
|
642
|
+
The Alfred Hitchcock Hour
|
643
|
+
The Amazing Race
|
644
|
+
The Americans
|
645
|
+
The Awesomes
|
646
|
+
The Batman
|
647
|
+
The Beast
|
648
|
+
The Ben Show
|
649
|
+
The Bible
|
650
|
+
The Big Bang Theory
|
651
|
+
The Big C
|
652
|
+
The Biggest Loser
|
653
|
+
The Blacklist
|
654
|
+
The Bletchley Circle
|
655
|
+
The Blue Rose
|
656
|
+
The Booth At The End
|
657
|
+
The Borgias
|
658
|
+
The Brady Bunch
|
659
|
+
The Bridge
|
660
|
+
The Carrie Diaries
|
661
|
+
The Chicago Code
|
662
|
+
The Cleveland Show
|
663
|
+
The Client List
|
664
|
+
The Closer
|
665
|
+
The Confession
|
666
|
+
The Crazy Ones
|
667
|
+
The Defenders
|
668
|
+
The Diary Of Anne Frank
|
669
|
+
The Doctor Blake Mysteries
|
670
|
+
The Dresden Files
|
671
|
+
The Escape Artist
|
672
|
+
The Exes
|
673
|
+
The Evidence
|
674
|
+
The Face
|
675
|
+
The Face Uk
|
676
|
+
The Fall
|
677
|
+
The Firm
|
678
|
+
The Following
|
679
|
+
The Forgotten
|
680
|
+
The Fosters
|
681
|
+
The Glades
|
682
|
+
The Goldbergs
|
683
|
+
The Good Wife
|
684
|
+
The Goodwin Games
|
685
|
+
The Gossip Game
|
686
|
+
The Grand
|
687
|
+
The Great Escape
|
688
|
+
The Guardian
|
689
|
+
The Hero (2013)
|
690
|
+
The Hour
|
691
|
+
The Hunger
|
692
|
+
The Inbetweeners Us
|
693
|
+
The It Crowd
|
694
|
+
The Jenny Mccarthy Show
|
695
|
+
The Jeselnik Offensive
|
696
|
+
The Job (2013)
|
697
|
+
The Job Lot
|
698
|
+
The Kill Point
|
699
|
+
The Killing
|
700
|
+
The L Word
|
701
|
+
The L.a. Complex
|
702
|
+
The Last Enemy
|
703
|
+
The Last Train
|
704
|
+
The Last Witch
|
705
|
+
The League
|
706
|
+
The Life & Times Of Tim
|
707
|
+
The Listener
|
708
|
+
The Lost Room
|
709
|
+
The Lying Game
|
710
|
+
The Mentalist
|
711
|
+
The Michael J. Fox Show
|
712
|
+
The Middle
|
713
|
+
The Millers
|
714
|
+
The Mimic
|
715
|
+
The Mindy Project
|
716
|
+
The Moaning Of Life
|
717
|
+
The Mob Doctor
|
718
|
+
The Muppet Show
|
719
|
+
The Neighbors
|
720
|
+
The New Atlanta
|
721
|
+
The New Batman Adventures
|
722
|
+
The New Normal
|
723
|
+
The Newsroom
|
724
|
+
The Nine Lives Of Chloe King
|
725
|
+
The O.c.
|
726
|
+
The Oblongs
|
727
|
+
The Office
|
728
|
+
The Originals
|
729
|
+
The Pacific
|
730
|
+
The Paradise
|
731
|
+
The Partridge Family
|
732
|
+
The Penguins Of Madagascar
|
733
|
+
The Philanthropist
|
734
|
+
The Politician's Husband
|
735
|
+
The Pretender
|
736
|
+
The Prisoner
|
737
|
+
The Rachel Zoe Project
|
738
|
+
The Real Housewives Of Atlanta
|
739
|
+
The Real Housewives Of Beverly Hills
|
740
|
+
The Real Housewives Of Miami
|
741
|
+
The Real Housewives Of New Jersey
|
742
|
+
The Real Housewives Of Orange Country
|
743
|
+
The Real Housewives Of Vancouver
|
744
|
+
The Ricky Gervais Show
|
745
|
+
The River
|
746
|
+
The Secret Circle
|
747
|
+
The Shield
|
748
|
+
The Show With Vinny
|
749
|
+
The Simpsons
|
750
|
+
The Slap
|
751
|
+
The Sopranos
|
752
|
+
The Spa
|
753
|
+
The Stand
|
754
|
+
The State Within
|
755
|
+
"The Story Of Science: Power, Proof And Passion"
|
756
|
+
The Straits
|
757
|
+
The Streets Of San Francisco
|
758
|
+
The Syndicate
|
759
|
+
The Taste
|
760
|
+
The Thin Blue Line
|
761
|
+
The Tomorrow People
|
762
|
+
The Tudors
|
763
|
+
The Tunnel
|
764
|
+
The Twilight Zone (1959)
|
765
|
+
The Twilight Zone (2002)
|
766
|
+
The Unusuals
|
767
|
+
The Valleys
|
768
|
+
The Vampire Diaries
|
769
|
+
The Village
|
770
|
+
The Vineyard
|
771
|
+
The Voice
|
772
|
+
The Walking Dead
|
773
|
+
The West Wing
|
774
|
+
The White Queen
|
775
|
+
The Winds Of War
|
776
|
+
The Winner Is
|
777
|
+
The Wire
|
778
|
+
The Wrong Mans
|
779
|
+
The X-files
|
780
|
+
The Young Ones
|
781
|
+
Thorne
|
782
|
+
Titanic: Blood And Steel
|
783
|
+
Top Boy
|
784
|
+
Top Chef Masters
|
785
|
+
Top Of The Lake
|
786
|
+
Tosh.0
|
787
|
+
Total Divas
|
788
|
+
Touch
|
789
|
+
Traders
|
790
|
+
Traffic Light
|
791
|
+
Trailer All This
|
792
|
+
Trauma
|
793
|
+
Treme
|
794
|
+
Tron: Uprising
|
795
|
+
Trophy Wife
|
796
|
+
Tru Calling
|
797
|
+
True Blood
|
798
|
+
Twin Peaks
|
799
|
+
Twisted
|
800
|
+
Two And A Half Men
|
801
|
+
Ugly Betty
|
802
|
+
Ultimate Spider-man
|
803
|
+
Undeclared
|
804
|
+
Under The Dome
|
805
|
+
Undercover Boss
|
806
|
+
Underemployed
|
807
|
+
Unforgettable
|
808
|
+
United States Of Tara
|
809
|
+
Unsupervised
|
810
|
+
Up All Night
|
811
|
+
Upload With Shaquille O'neal
|
812
|
+
Utopia
|
813
|
+
Vanderpump Rules
|
814
|
+
Vanished
|
815
|
+
Veep
|
816
|
+
Vegas
|
817
|
+
Veronica Mars
|
818
|
+
Vexed
|
819
|
+
Vicious
|
820
|
+
Vikings
|
821
|
+
Voyagers!
|
822
|
+
Wall Street Warriors
|
823
|
+
Wallander
|
824
|
+
Warehouse 13
|
825
|
+
Way To Go
|
826
|
+
We Are Men
|
827
|
+
Web Therapy
|
828
|
+
Wedding Band
|
829
|
+
Weed Country
|
830
|
+
Weeds
|
831
|
+
Welcome To Myrtle Manor
|
832
|
+
Welcome To The Family
|
833
|
+
Wendell & Vinnie
|
834
|
+
White Collar
|
835
|
+
Whitney
|
836
|
+
Whodunnit?
|
837
|
+
Wilfred Us
|
838
|
+
Wire In The Blood
|
839
|
+
Witches Of East End
|
840
|
+
Without A Trace
|
841
|
+
Wolf Lake
|
842
|
+
Women's Murder Club
|
843
|
+
Wonders Of Life
|
844
|
+
World Without End
|
845
|
+
Woodley
|
846
|
+
Workaholics
|
847
|
+
Wpc 56
|
848
|
+
X-men: Evolution
|
849
|
+
Yes Minister
|
850
|
+
Young Justice
|
851
|
+
Youngers
|
852
|
+
Yukon Gold
|
853
|
+
Zero Hour
|
data/lib/social_ite.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require "social_ite/version"
|
2
|
+
require 'csv'
|
3
|
+
|
4
|
+
module SocialIte
|
5
|
+
class TVShows
|
6
|
+
|
7
|
+
class << self
|
8
|
+
|
9
|
+
def name
|
10
|
+
read_csv('tvshownames')
|
11
|
+
end
|
12
|
+
|
13
|
+
def character_name
|
14
|
+
read_csv('characters')
|
15
|
+
end
|
16
|
+
|
17
|
+
def read_csv(file_name)
|
18
|
+
CSV.open("lib/data/#{file_name}.csv") do |csv|
|
19
|
+
csv.readlines().sample.first
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
data/scraping/scrape.rb
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
require 'nokogiri'
|
2
|
+
require 'open-uri'
|
3
|
+
require 'csv'
|
4
|
+
|
5
|
+
class ShowScraper
|
6
|
+
def initialize(url)
|
7
|
+
@doc = Nokogiri::HTML(File.open(open(url)))
|
8
|
+
puts "Saved your .csv"
|
9
|
+
end
|
10
|
+
|
11
|
+
def extract_names
|
12
|
+
@doc.search('.lc').map do |e|
|
13
|
+
e.inner_text.slice(1..-2).split.map(&:capitalize).join(' ')
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
# document.querySelectorAll('#LS-100')[0].querySelectorAll('p')[1]
|
18
|
+
|
19
|
+
def extract_characters
|
20
|
+
output = []
|
21
|
+
all_lines = @doc.search('#LS-100')[0].children[5] #=> ~300
|
22
|
+
|
23
|
+
325.times do |i|
|
24
|
+
if all_lines.children[i].inner_text.include?('.')
|
25
|
+
unless all_lines.children[i].inner_text.split[1..-2].join(' ').empty?
|
26
|
+
output << all_lines.children[i].inner_text.split[1..-2].join(' ')
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
output
|
31
|
+
end
|
32
|
+
|
33
|
+
def to_csv(name, data)
|
34
|
+
CSV.open("lib/data/#{name}.csv", 'w') do |csv|
|
35
|
+
data.each { |name| csv << [name] }
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def self.read_csv(name)
|
40
|
+
CSV.open("lib/data/#{name}.csv") do |csv|
|
41
|
+
csv.readlines().sample.first.slice(1..-2).split.map(&:capitalize).join(' ')
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
|
47
|
+
# showlist = ShowScraper.new('http://streamallthis.me/tv-shows-list.html')
|
48
|
+
# name_array = showlist.extract_names
|
49
|
+
# showlist.to_csv('tvshownames', name_array)
|
50
|
+
|
51
|
+
|
52
|
+
# showlist = ShowScraper.new('http://popwatch.ew.com/2010/06/01/100-greatest-characters-of-last-20-years-full-list/')
|
53
|
+
|
54
|
+
# char_array = showlist.extract_characters
|
55
|
+
|
56
|
+
# showlist.to_csv('characters', char_array)
|
data/social_ite.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'social_ite/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "social_ite"
|
8
|
+
spec.version = SocialIte::VERSION
|
9
|
+
spec.authors = ["Mohit Ramchandani"]
|
10
|
+
spec.email = ["Mohitr35@gmail.com"]
|
11
|
+
spec.description = %q{Data from popular media outlets}
|
12
|
+
spec.summary = %q{Data from popular media outlets}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: social_ite
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mohit Ramchandani
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-11-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Data from popular media outlets
|
42
|
+
email:
|
43
|
+
- Mohitr35@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- .gitignore
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- lib/data/characters.csv
|
54
|
+
- lib/data/tvshownames.csv
|
55
|
+
- lib/social_ite.rb
|
56
|
+
- lib/social_ite/version.rb
|
57
|
+
- scraping/scrape.rb
|
58
|
+
- social_ite.gemspec
|
59
|
+
homepage: ''
|
60
|
+
licenses:
|
61
|
+
- MIT
|
62
|
+
metadata: {}
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options: []
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
requirements: []
|
78
|
+
rubyforge_project:
|
79
|
+
rubygems_version: 2.0.3
|
80
|
+
signing_key:
|
81
|
+
specification_version: 4
|
82
|
+
summary: Data from popular media outlets
|
83
|
+
test_files: []
|