In order to record anime with chinachu, it was necessary to get an anime title. I decided to use Jsoup to spray Anime Hack (http://anime.eiga.com/program/) to get the title.
main.java
package animeScreiping;
import java.io.IOException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
public class main {
public static void main(String[] args) {
// TODO Auto-generated method stub
String url = "http://anime.eiga.com/program/";
try {
Document d = Jsoup.connect(url).get();
Elements ele = d.select("div.seasonBoxImg");
for(int i=0; i< ele.size(); i++ ){
System.out.println(ele.get(i).text());
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
result
Aikatsu Friends!
Akkun and Kanojo
Good morning! Masterpiece (3rd term)
Sweet punishment-I am a guard-only pet
Amanchu! ~ Adobansu ~
Alice or Alice
Inazuma Eleven Ares Balance
Illustration animation movie Ladyspo
Rabbit Matthew
Space Battleship Tiramisu
Uma Musume Pretty Derby
SNS police
Butt Detective
You still don't know Gunma
I'm a monster human G
Kakuriyo no Yadohan
Caligula -Caligula-
Card fight!!Vanguard (2018)
Gundam Build Divers
Captain Tsubasa (2018)
Chara and Otamajakushi Island
Cutie Honey Universe
Kiratto Pri Chan
Legend of the Galactic Heroes Die Neue These Encounters
Frankenstein Family Creatures Family Days
Black cat Monrowo
Gurazeni
Keckeroke
Gegege no Kitaro (6th term)
Cat Chi Pon Pong Lar Big Trip
Comic Girls
Go-chan. ~ Promise on Moko and Ice ~
Golden kamuy
But the sinner dances with the dragon
Steins Gate Zero
Shokugeki no Soma Gourmet Plate Togetsu Train
Last Hope Pandora
Fist of the Blue Sky REGENESIS
Sword Art Online Alternative Gun Gale Online
Tada never falls in love
Tachibanakan To Lie Anguru
TV bastard Nanana
Devils' Line
duel Masters! (2018)
Tokyo Ghoul: re
Slave Zone The Animation
Nil Admirari's Balance
Nobunaga no Shinobi-Anekawa / Ishiyama-
High School DxD HERO
Buddy Fight X All Star Fight
Butlers ~ Millennium 100 Years Story ~
Puzzle
Secret and Masotan
Hitori no Shita Zensei Hen
Hina Matsuri
Mio High School Earth Defense Department HAPPY KISS!
Piano forest
Crossing time
Future Card God Buddy Fight
Fullmetal panic! Invisible Victory
Beyblade Burst Super Zetsu
PERSONA5 the Animation
Hozuki's Coolheadedness (2nd period, 2nd period)
My Hero Academia (3rd term)
Magical girl me
Magical Girl Site
Megalo Box
Major 2nd
Yo-Kai Watch Shadowside
Last Period-The Story of the Endless Spiral-
3D girlfriend real girl
Lupine III PART5
Layton Mystery Detective Company-Katry's Nazotoki File-
Kaede-do Yotsuiro weather
LOST SONG
Lostorage conflated WIXOSS
Wakaokami is an elementary school student!
Love is difficult for Otaku
Ice cream
Keckeroke (Tate Anime)
Chibi Airin's gentle daily life
Tokino crossing
Recommended Posts