p*o*cus 0 oum/T
12
13
14
15
16
17
II
19
M
21
OCBUG CONSOiC
TIRUIHA1
UJ
O podcjtcner pwa > *j podcaichrt > © ma«i(SlmgQ)
2 laport java.io.IOEnception;
3 i aport JJvj.net MalfornedURlEnception;
4 1aport jjvj.net.URL;
5 //laport java.net.URLConnection;
6 laport org.apache.comons.lo.*;
7
8 publlc ciast podcatcher <
9
16 // private ttatlc finał UW. http ■ nuli;
11
Rui | OeOug
Public ttatlc vold aain(final Stnng args[|) thrcnrs MalforaedURLEiception, IOEnceptlon {
for(int epitode • 1; epitode<«566; epitode**) J
finał URL FILE URL - new URL(•http://traffic.libtyn.coa/aotr/f10TR • ♦ epitode ♦*. ■P3*);
finał Strlng FILE NAME - FILE URL.getFllel).tubttrlng(6);
• finał int CONNECT TIMEOUT - 1666; finał lnt READ TIMEOUT - 1660;
2: Java Proce** Como v + [D I n x kctofalppanguin:->/Coda/podcatchar$ /utr/llb/)va/)ava 8 openjdk -aad64/bin/java Dflle.encoding-UTF 8 -cp /tap/cp 8alr2airw98idev7gthfda6al.)ar podcatcher Getting epitode 1 now.
File motr l.ap3 dounloaded'
Getting epitode 2 now.
File MOTR 2.ap3 dounloaded'
Getting epitode 3 now.
File MOTR 3.ap3 dcamloaded'
Getting epitode 4 now.
File MOTR 4.ap3 dounloaded'
Getting epitode 5 now.
I