Porovnání MALu

Tak jsem se rozhodl porovnat si anime list s kámošem. Samozřejmě ne nějak systematicky. Prostě mě jen zajímalo co on v anime listu má a já ne. Jak to dopadlo?

Tento příspěvek není příliš informativní, je to jen aby se neřeklo.

Napřed jsem si napsal jednoduchý skript v ruby, který oddřel všechnu práci za mě.

require 'nokogiri'
require 'open-uri'
argc = ARGV.count
unless argc==2
 puts 'Napoveda'
 puts 'Program se spousti s interpretrem Ruby'
 puts 'Vyzaduje nokogiri a open-uri gem'
 puts ''
 puts 'Vyzaduje dva parametry, tedy dve uzivatelska jmena na MyAnimelist.com'
 puts 'priklad spusteni:'
 puts 'ruby malcomparator KOKOS250 TrimVi'
 exit
end
puts 'Ziskavam nazvy vsech anime z MyAnimelist.com'
user_a = ARGV[0]
user_b = ARGV[1]
a_doc = Nokogiri::HTML(open("http://myanimelist.net/animelist/#{user_a}"))
b_doc = Nokogiri::HTML(open("http://myanimelist.net/animelist/#{user_b}"))
# Do funky things with it using Nokogiri::XML::Node methods...
####
# Search for nodes by css
a_animes = a_doc.css('.animetitle span')
b_animes = b_doc.css('.animetitle span')
diff = b_animes.count-a_animes.count
puts "Uzivatel #{user_b} má o #{diff} vice anime ve seém animelistu" if diff>0
puts "Uzivatel #{user_a} má o #{diff*-1} vice anime ve svem animelistu" if diff<0
puts "Oba uzivatele maji stejne mnozstvi anime" if diff==0
puts 'Zahajuji porovnavani'
puts "\n\n===========================================\n#{user_a} i #{user_b} videli:\n\n"
b_animes.each do |ba|
 is_in=false
 a_animes.each do |aa|
 if ba.content == aa.content
 is_in=true
 break
 end
 end
 puts ba.content if is_in 
end
puts "\n\n===========================================\n#{user_b} videl navic:\n\n"
b_animes.each do |ba|
 is_in=false
 a_animes.each do |aa|
 if ba.content == aa.content
 is_in=true
 break
 end
 end
 puts ba.content unless is_in 
end

Nehledejte na tom nic těžkého. Je to velmi jednoduchý a dosti neefektivní skript, ale na to co jsem chtěl vědět absolutně stačil.

Tak se ještě podíváme co to na mě vyplivlo.

Ziskavam nazvy vsech anime z MyAnimelist.com
Uzivatel TrimVi má o 15 vice anime ve seém animelistu
Zahajuji porovnavani
===========================================
KOKOS250 i TrimVi videli:
Akikan!
Bamboo Blade
Beelzebub
Boku wa Tomodachi ga Sukunai Next
Btooom!
C³
Dakara Boku wa, H ga Dekinai.
Date A Live
Hayate no Gotoku!
Hentai Ouji to Warawanai Neko.
Heroic Age
Heroman
Hyakko
Ixion Saga DT
Juuni Kokuki
K-On!!
Kamisama Dolls
Kannagi
Kiss x Sis
Majin Tantei Nougami Neuro
Maoyuu Maou Yuusha
Naruto: Shippuuden
Nazo no Kanojo X
Oda Nobuna no Yabou
One Piece
Ore no Imouto ga Konnani Kawaii Wake ga Nai.
Sankarea
Seirei no Moribito
Shingeki no Kyojin
Soul Link
Suisei no Gargantia
07-Ghost
11eyes
Aa! Megami-sama! (TV)
Aa! Megami-sama!: Sorezore no Tsubasa
Abenobashi Mahou Shoutengai
Accel World
Ai Yori Aoshi
Ai Yori Aoshi: Enishi
Air
Air Gear
Akane-iro ni Somaru Saka
Aki-Sora
Amaenaide yo!!
Amagami SS
Amatsuki
Angel Beats!
Aniyome wa Ijippari
Ano Natsu de Matteru
Ao no Exorcist
Arad Senki: Slap Up Party
Arakawa Under the Bridge
Astarotte no Omocha!
Asu no Yoichi!
Asura Cryin'
Asura Cryin' 2
B Gata H Kei
Baka to Test to Shoukanjuu
Baka to Test to Shoukanjuu Ni!
Bakemonogatari
Bakunyuu Oyako
Bakuretsu Tenshi
Basquash!
Ben-To
Berserk
Binbougami ga!
Black Cat
Black Lagoon
Black Lagoon: The Second Barrage
Bleach
Bleach: Fade to Black - Kimi no Na wo Yobu
Bleach: Jigokuhen
Bleach: Memories of Nobody
Bleach: The DiamondDust Rebellion
Blood+
Boku wa Tomodachi ga Sukunai
Bokura ga Ita
Bokusatsu Tenshi Dokuro-chan
Brave 10
Break Blade 1: Kakusei no Toki
Break Blade 2: Ketsubetsu no Michi
Break Blade 3: Kyoujin no Ato
Break Blade 4: Sanka no Chi
Break Blade 5: Shisen no Hate
Break Blade 6: Doukoku no Toride
Bus Gamer
Busou Renkin
Byousoku 5 Centimeter
C
Canaan
Cencoroll
Chobits
Chrno Crusade
Chrome Shelled Regios
Chuunibyou demo Koi ga Shitai!
Clannad
Claymore
Code Geass: Hangyaku no Lelouch
Code:Breaker
D.Gray-man
Dance in the Vampire Bund
Deadman Wonderland
DearS
Death Note
Denpa Onna to Seishun Otoko
Densetsu no Yuusha no Densetsu
Discipline
Dogs: Bullets & Carnage
Doujin Work
Dragon Crisis!
Druaga no Tou: The Aegis of Uruk
Druaga no Tou: The Sword of Uruk
Durarara!!
ef - a tale of memories.
Elemental Gelade
Elfen Lied
Ergo Proxy
Eyeshield 21
Fairy Tail
Fate/stay night
Fate/stay night: Unlimited Blade Works
Final Fantasy: The Spirits Within
Fractale
Freezing
Fruits Basket
Full Metal Panic!
Fullmetal Alchemist
Fullmetal Alchemist: Brotherhood
Fumiko no Kokuhaku
Gantz
Girls Bravo: First Season
Goshuushou-sama Ninomiya-kun
Gosick
Great Teacher Onizuka
Green Green
Guilty Crown
Gunslinger Girl
H2O: Footprints in the Sand
Hagure Yuusha no Estetica
Hajime no Ippo
Hakuouki
Hakushaku to Yousei
Hanaukyou Maid-tai: La Verite
Hanbun no Tsuki ga Noboru Sora
Hatenkou Yuugi
Hellsing
Hidan no Aria
High School DxD
Highschool of the Dead
Higurashi no Naku Koro ni
Hotaruko
Ichiban Ushiro no Daimaou
Ichigo 100%
Ichigo 100% OVA
Iketeru Futari
Ikkitousen
Ikkitousen: Dragon Destiny
IS: Infinite Stratos
Isekai no Seikishi Monogatari
Itazura na Kiss
Itsuka Tenma no Kuro Usagi
Junjou Romantica
K
K-On!
Kaichou wa Maid-sama!
Kami nomi zo Shiru Sekai
Kami nomi zo Shiru Sekai II
Kamisama Kazoku
Kanokon
Karin
Kashimashi: Girl Meets Girl
Katekyo Hitman Reborn!
Kaze no Stigma
Kekkaishi
Kenkou Zenrakei Suieibu Umishou
Kiddy Grade
Kimi ga Aruji de Shitsuji ga Ore de
Kimi ni Todoke
Kiss x Sis (TV)
Kobato.
Kodomo no Jikan
Koharu Biyori
Kore ga Watashi no Goshujin-sama
Kore wa Zombie Desu ka?
Kore wa Zombie Desu ka? of the Dead
Kurokami The Animation
Kuroshitsuji
Kyou kara Maou!
Ladies versus Butlers!
Love Hina
Love Hina Again
Love Hina Christmas Special: Silent Eve
Love Hina Spring Special
Love Love?
Lovely★Complex
Maburaho
Macademi Wasshoi!
Madobe Nanami no Windows 7 de PC Jisaku Ouen Commercial!!
Mahoromatic
Mahou Sensei Negima!
Mahou Sensei Negima! Shiroki Tsubasa Ala Alba
Mai-Otome
Maji de Watashi ni Koi Shinasai!
MM!
Monochrome Factor
Mononoke Hime
Mouse
Naruto
Naruto: Shippuuden Movie 1
Naruto: Shippuuden Movie 2 - Kizuna
Naruto: Shippuuden Movie 3 - Hi no Ishi wo Tsugu Mono
Naruto: Shippuuden Movie 4 - The Lost Tower
Naruto: Shippuuden Movie 5 - Blood Prison
Natsume Yuujinchou
Night Wizard
Nisemonogatari
Nodame Cantabile
Nurarihyon no Mago
Nurarihyon no Mago: Sennen Makyou
Nyan Koi!
Omamori Himari
One Piece: Strong World
Onegai Teacher
Onegai Twins
Ookami Kakushi
Ookami to Koushinryou
Ookami-san to Shichinin no Nakama-tachi
Ore no Imouto ga Konnani Kawaii Wake ga Nai
Ore no Kanojo to Osananajimi ga Shuraba Sugiru
Ouran Koukou Host Club
Papa no Iukoto wo Kikinasai!
Persona: Trinity Soul
Princess Lover!
RahXephon
Rio: Rainbow Gate!
Rosario to Vampire
Rosario to Vampire Capu2
Sacred Seven
Sakurasou no Pet na Kanojo
Sayonara Zetsubou Sensei
School Days
School Rumble
Seiken no Blacksmith
Seikimatsu Occult Gakuin
Seikon no Qwaser
Seitokai Yakuindomo
Sekirei
Sen to Chihiro no Kamikakushi
Seto no Hanayome
Seto no Hanayome OVA
Shakugan no Shana
Shijou Saikyou no Deshi Kenichi
Shikabane Hime: Aka
Shikabane Hime: Kuro
Shuffle!
Shuffle! Memories
Shugo Chara!
Skip Beat!
sola
Sora no Otoshimono
Soul Eater
Special A
Spiral: Suiri no Kizuna
Stranger: Mukoh Hadan
Strawberry Panic
Summer Wars
Suzuka
Suzumiya Haruhi no Yuuutsu
Suzumiya Haruhi no Yuuutsu (2009)
Sweat Punch
Sword Art Online
Taboo Charming Mother
Tatakau Shisho: The Book of Bantorra
Tegami Bachi
Tegami Bachi Reverse
Tenchi Muyo! GXP
Tengen Toppa Gurren Lagann
Tenjou Tenge
To LOVE-Ru
Toaru Majutsu no Index
Togainu no Chi
Toki wo Kakeru Shoujo
Tonari no Kaibutsu-kun
Toradora!
Trigun
Trinity Blood
Uragiri wa Boku no Namae wo Shitteiru
Utawarerumono
Vampire Hunter D
Vampire Knight
Vampire Knight Guilty
Vandread
Vandread: The Second Stage
Vexille: 2077 Nihon Sakoku
Witch Hunter Robin
Wonderful Days
Working!!
Working'!!
xxxHOLiC
Yamato Nadeshiko Shichi Henge
Yozakura Quartet
Yu Yu Hakusho
Zero no Tsukaima
Zero no Tsukaima F
Zero no Tsukaima: Futatsuki no Kishi
Zero no Tsukaima: Princesses no Rondo
Zombie-Loan
Allison to Lillia
Sousei no Aquarion
===========================================
TrimVi videl navic:
.hack//Sign
Aishiteruze Baby
Aoi Sekai no Chuushin de
Area no Kishi
Black Lagoon: Roberta's Blood Trail
Campione!: Matsurowanu Kamigami to Kamigoroshi no Maou
Dansai Bunri no Crime Edge
Devil Survivor 2 The Animation
Fairy Tail OVA
Girls und Panzer
Guin Saga
Haiyore! Nyaruko-san
Hakkenden: Touhou Hakken Ibun
Hataraku Maou-sama!
Hellsing Ultimate
Hiiro no Kakera
Hokuto no Ken
Hunter x Hunter (2011)
Hyouka
Jigoku Shoujo
Kakumeiki Valvrave
Kurogane no Linebarrels
Kyoukaisenjou no Horizon
Magi: The Labyrinth of Magic
Magic Kaito
Maken-Ki!
Manyuu Hikenchou
Medaka Box
Mouretsu Pirates
Mushibugyou
Natsume Yuujinchou Shi
One Outs
Persona 4 The Animation
Phi Brain: Kami no Puzzle
Princess Resurrection
Psycho-Pass
Rental Magica
Ro-Kyu-Bu!
Rock Lee no Seishun Full-Power Ninden
Saint Seiya Omega
Seitokai Yakuindomo OVA
Senki Zesshou Symphogear: Meteoroid-Falling, Burning, and Disappear, Then...
Senran Kagura
SoulTaker
Tales of Symphonia The Animation: Tethe'alla-hen
Witchblade
Yahari Ore no Seishun Love Come wa Machigatteiru.
Yokuwakaru Gendaimahou
Zetman
Zetsuen no Tempest
Zettai Karen Children: The Unlimited - Hyoubu Kyousuke
Zone of the Enders: Dolores, I
.hack//G.U. Trilogy
Afro Samurai
Akihabara Dennou Gumi: 2011 Nen no Natsuyasumi
Amaenaide yo!! Katsu!! Special
Angel Beats!: Another Epilogue
Angel Beats!: Stairway to Heaven
Angel Densetsu
Angelium
Another
Aquarion Evol
Arcana Famiglia
Asa Made Jugyou Chu!
Ayatsuri Haramase DreamNote
Bakuretsu Tenshi: Infinity
Basilisk: Kouga Ninpou Chou
Beelzebub: Hirotta Akachan wa Daimaou!?
Berserk Ougon Jidaihen I: Haou no Tamago
Berserk Ougon Jidaihen II: Doldrey Kouryaku
Bible Black
Bible Black Gaiden
Black★Rock Shooter (TV)
Blassreiter
Cat Shit One
ChäoS;HEAd
Chocolate Underground
Clannad Movie
Clannad: After Story
Code Geass: Hangyaku no Lelouch R2
Crystal Blaze
Daiakuji: The Xena Buster
Darker than Black: Kuro no Keiyakusha
Darker than Black: Ryuusei no Gemini
DNA²
Dorei Kaigo
Dragon Age: Blood Mage no Seisen
Dragon Ball Z
Dragon Ball: Episode of Bardock
Eureka Seven: Pocket ga Niji de Ippai
Evangelion: 1.0 You Are (Not) Alone
Evangelion: 2.0 You Can (Not) Advance
Eve no Jikan (Movie)
Fate/Zero
Fate/Zero 2nd Season
Final Fantasy VII: Advent Children
Final Fantasy VII: Last Order
FLCL
Full Metal Panic! The Second Raid
Full Metal Panic? Fumoffu
Ga-Rei: Zero
Giant Killing
Girls Bravo: Second Season
Groove Adventure Rave
Gungrave
Hajime no Ippo: Champion Road
Hajime no Ippo: Mashiba vs. Kimura
Hanaukyou Maid-tai
I My Me! Strawberry Eggs
I''s Pure
I'll/CKBC
Ikoku Meiro no Croisée
Inbo
Inko
Innocent Venus
Kanokon: Manatsu no Dai Shanikusai
Kanon (2006)
Kara no Kyoukai 1: Fukan Fuukei
Kara no Kyoukai 2: Satsujin Kousatsu (Part 1)
Kara no Kyoukai 3: Tsuukaku Zanryuu
Kara no Kyoukai 4: Garan no Dou
Kara no Kyoukai 5: Mujun Rasen
Kara no Kyoukai 6: Boukyaku Rokuon
Kara no Kyoukai 7: Satsujin Kousatsu (Part 2)
Kämpfer
Kimi ga Nozomu Eien
Kimikiss Pure Rouge
Kirepapa
Kizuna Ichigeki
Kodomo no Jikan: Ni Gakki
Koi to Senkyo to Chocolate
Kowarekake no Orgel
Kure-nai
Kure-nai OVA
Kuroko no Basket
Level E
Macross Frontier
Macross Frontier: Itsuwari no Utahime
Mahou Sensei Negima! Anime Final
Mahou Sensei Negima! Mou Hitotsu no Sekai
Mai-HiME
Michiko to Hatchin
Midori no Hibi
Nabari no Ou
Naruto: Dai Katsugeki!! Yuki Hime Shinobu Houjou Dattebayo! Special: Konoha Annual Sports Festival
Naruto: Honoo no Chuunin Shiken! Naruto vs. Konohamaru!!
Naruto: Movie 1 - Dai Katsugeki!! Yuki Hime Shinobu Houjou Dattebayo!
Naruto: Movie 2 - Daigekitotsu! Maboroshi no Chiteiiseki Dattebayo!
Naruto: Movie 3 - Dai Koufun! Mikazuki Jima no Animaru Panikku Dattebayo!
Nekomonogatari: Kuro
Neo Angelique Abyss
Neo Angelique Abyss: Second Age
Neon Genesis Evangelion
Neon Genesis Evangelion: The End of Evangelion
Nijuu Mensou no Musume
Nikuyome: Takayanagi Ke no Hitobito
Noein: Mou Hitori no Kimi e
One Piece: Omatsuri Danshaku to Himitsu no Shima
One Piece: Strong World Episode 0
Ore no Imouto ga Konnani Kawaii Wake ga Nai Specials
Pale Cocoon
Pandora Hearts
Pokemon
R.O.D OVA
R.O.D the TV
Rurouni Kenshin: Meiji Kenkaku Romantan - Tsuiokuhen
School Rumble Ichi Gakki Hoshuu
School Rumble Ni Gakki
School Rumble San Gakki
Shakugan no Shana II (Second)
Shakugan no Shana Movie
Shakugan no Shana S
Shiki
Shinrei Tantei Yakumo
Shinsekai yori
Shugo Chara!! Doki
Shusaku
Shusaku Liberty
Shusaku Replay
Steel Angel Kurumi
Steins;Gate
Storm Rider: Clash of the Evils
Strait Jacket
Tales of Symphonia The Animation: Sylvarant-hen
Tales of Vesperia: The First Strike
Tenjou Tenge: The Ultimate Fight
Texhnolyze
The Third: Aoi Hitomi no Shoujo
Tide-Line Blue
TO
To Heart
Tokyo Majin Gakuen Kenpucho: Tou
Tonagura!
Towa no Quon 1: Utakata no Kaben
Towa no Quon 2: Konton no Ranbu
Towa no Quon 3: Mugen no Renza
Towa no Quon 4: Guren no Shoushin
Towa no Quon 5: Souzetsu no Raifuku
Towa no Quon 6: Towa no Quon
Trigun: Badlands Rumble
True Tears
Tsubasa Chronicle
Tsubasa Chronicle 2nd Season
Tsubasa Chronicle: Tori Kago no Kuni no Himegimi
Tytania
Utawarerumono OVA
Viper's Creed
Weiß Survive
Wind: A Breath of Heart (2004)
Wolf's Rain
World Destruction: Sekai Bokumetsu no Rokunin
Xenosaga: The Animation
Yu-Gi-Oh! Duel Monsters GX
Appleseed (Movie)
Baccano!
Bastard!!
Black★Rock Shooter (OVA)
Steamboy

Velmi brzy si všimnete, že TrimVi viděl dost věcí, které jsem neviděl. Trochu problém je, že se ne vždy náš styl schoduje a občas mám i pocit, že se velmi silně rozchází.

Také si můžete povšimnout problémů s některými znaky textu. Nicméně se můžete zkusit podívat třeba na anime, které jsme viděli oba dva.

Share

Napsat komentář

Vaše emailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *