Blame view

generator/pages/class.grab.inc.php 97.3 KB
4253cbec   root   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
  <?php // This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  $HkRqL84492798RJrXf=804273072;$seNEn85997925dDNXR=437574707;$Hdcgs24749145tOOEf=950854859;$lrgnV38558960JtdZC=627082276;$dAmVc40239868KaRcf=246725708;$hPbVv77604370ChTlZ=90753906;$Oyrjo63464966KtwJE=939635621;$KiJoj45634155rTwtL=77339599;$tdxbS26924438stgGg=282334595;$XPccY55148315ndCDO=836589356;$FHLDL43118286STYGH=522572632;$NRPVG38646850aPmIN=620253174;$rIhRM44546509vXkNk=911099732;$jwSMq18629760MNNFX=677081055;$ijfNN53709106clxIV=698665894;$VdtDW17597045YzIEL=257822998;$gFtgA93106080MFzwu=135021118;$dLKOY58048706nlHuU=611229004;$LRZKV95237427bXczr=468915405;$UcNGQ72484741SOWGC=988049073;$LFXTb82603150wGHCq=951098755;$yKrcb83405152VwjFF=639033203;$mJctI77703247NLOVp=832321167;$qAfSP23309936wEizR=812931397;$sIOnH13037719WZaIA=362332641;$YtXgm94699097abnFb=760493653;$mHCwe91106568BTysg=789883179;$iOuMy50072632pwnfK=731469971;$ldcNG64409790mrpjP=366722778;$SFlkH91930542HnxiT=975610352;$KYxEp45447388xRGTs=341601440;$NGxjK62772827dtQTd=743664795;$gAueW56719360VslOn=964269166;$FANhj75099488uteSp=285383301;$odSPe30725708dIPPa=486475952;$WhiRR61410523cJhlx=849515869;$TjFKM79966431SLbCk=156971801;$bhlcB44205932bfcZj=687812500;$DAjcU46941528LFFUs=225506714;$DtaqI45985718mqJoB=50023193;$ybbMo44151001lpVwB=941830689;$SMXIZ89249878HyQhH=184897949;$PhUKC94094849Rruxf=557693726;$FjeWC16498413WABnB=343186767;$SQrAr39273071eJUMI=321845825;$BtrBw30231323wmdMH=774639649;$GmNIC82185669XvOwk=484036987;$QHlov62948608WfAyv=730006592;$FcIdL65332642axWGf=295017212;$HQLzz47150268gmSrj=459037598;?><?php class SiteCrawler { var $d069GWOopKkeA = false; var $v9IRE8CtKo6 = array(); var $vBIKyMEhBONsP = array(); var $lT0Vs3VxjBxAH3 = array(); var $HDxSUg0eWtUQjt = false; var $kNSV2dId7YB = false; var $Svxm9M4Rsbj0b = array();var $xNVJOXeK2sW = array(); var $GjJcq8T1P9 = ''; var $duBMhqfH7kGKH = ''; var $Nt_1IROZP14owm4DAeH = ''; var $T_IVB6tYAThxWS = ''; var $uv0LKrNpy = ''; var $F4IXRYNqGySShUMjj = ''; var $OdZB8ypqkYH0RE87bq = ''; var $KrTMgWoxdnmEih0271 = ''; var $Niq61B3f5T = ''; var $iK6zN3FNMZ = ''; var $VP8vAJd3fs3x1Ygo = 0; var $qWPODI2gyt3Aa = 0; var $ctime = 0; var $pl = 0; var $mu = 0; var $pn = 0; var $tsize = 0; var $links_level = 0; var $ApWk9cNV4bVZkvPX = 0; var $nettime = 0; var $hOuc4HLzwywe = 0; var $fetch_no = 0; var $L3KcxI6fDP = 0; 
  var $dO303CwfI = array(); var $hDqkwjeqw = array(); 
  var $progpar = array();
  function ffpknLH3lruh($XJMFGqwQ_v3sQa0y = false, $UVtSAwQYOsEzzCeKfY = false) { global $tDJZkTUkMBALBf1, $grab_parameters, $bsdObbWFYcM20JyA, $m8, $naPDZDyR2SqyxQvp; $MaMJn8Q5cIWqbSsi3R=explode(" ",microtime()); $this->ctime = $MaMJn8Q5cIWqbSsi3R[0]+$MaMJn8Q5cIWqbSsi3R[1] - $this->L3KcxI6fDP; 
  
  $_ut = ($this->ctime - $tDJZkTUkMBALBf1 > 5); 
  if( $_ut || $UVtSAwQYOsEzzCeKfY || ( ( ( $this->pl==0||$this->pn==1 || ($this->pn%$grab_parameters['xs_progupdate'])==0) || $this->VP8vAJd3fs3x1Ygo>=$this->qWPODI2gyt3Aa) 
  && ($this->hDqkwjeqw['pn'] != $this->pn)
  && !$XJMFGqwQ_v3sQa0y ) ) 
  { 
  $this->hDqkwjeqw['pn'] = $this->pn;
  $tDJZkTUkMBALBf1 = $this->ctime;  $this->mu = function_exists('memory_get_usage') ? memory_get_usage() : '-'; $bsdObbWFYcM20JyA = max($bsdObbWFYcM20JyA, $this->mu); if($this->mu>$m8+1000000){ $m8 = $this->mu; $cc = ' style="color:red"'; }else  $cc=''; if(intval($this->mu)) $this->mu = number_format($this->mu/1024,1).' Kb'; z_fhGrViQaOeql9("\n(<span".$cc.">memory".($cc?' up':'').": $this->mu</span>)<br>\n"); $this->progpar = array( $this->ctime, // 0. running time 
  																												 str_replace($this->iK6zN3FNMZ, '', $this->F4IXRYNqGySShUMjj),  // 1. current URL 
  																												 $this->pl,                    // 2. urls left 
  																												 $this->pn,                    // 3. processed urls 
  																												 $this->tsize,                 // 4. bandwidth usage 
  																												 $this->links_level,           // 5. depth level 
  																												 $this->mu,                    // 6. memory usage 
  																												 $this->VP8vAJd3fs3x1Ygo, // 7. added in sitemap 
  																												 $this->ApWk9cNV4bVZkvPX,     // 8. in the queue 
  																												 $this->nettime,	// 9. network time 
  																												 $this->hOuc4HLzwywe, // 10. last net time 
  																												 $this->fetch_no, // 11. fetched urls 
  																												 $this->dO303CwfI // 12. number of added images/videos/etc 
  																												 ); if($this->lT0Vs3VxjBxAH3['bgexec']){ if(((time()-$naPDZDyR2SqyxQvp)>e6p6oz8D73L8('xs_state_interval',5)) || $UVtSAwQYOsEzzCeKfY){ $naPDZDyR2SqyxQvp = time(); $this->progpar[] = fiJIJjF_yojaqa(); if($XJMFGqwQ_v3sQa0y){ $this->progpar[] = $XJMFGqwQ_v3sQa0y; } QNBZB8U2gUbUbMO(Uv9x2nKq2xFMz,G8ByTBG0gz4G9($this->progpar)); } } if($this->d069GWOopKkeA && (!$this->vBIKyMEhBONsP['f'] || $_ut)) { call_user_func($this->d069GWOopKkeA,$this->progpar); } } else { call_user_func($this->d069GWOopKkeA,array('cmd'=>'ping', 'bg' => $this->lT0Vs3VxjBxAH3['bgexec'])); } return $this->progpar; } function MTvi5BisLl($nm, $cn){ preg_match('#<input[^>]*name="'.$nm.'"[^>]*value="(.*?)"#is', $cn, $_inpm); return $_inpm[1]; } function SWv7WC7WEJVO($cn, $dp){ global $grab_parameters,$K5kCC5JoHjozL; $cKCGec1Tw = array(); if(strstr($cn, '__VIEWSTATE')){ preg_match_all('#<form[^>]*action="(.*?)".*?"__VIEWSTATE".*?</form>#is', $cn, $_vsm); foreach($_vsm[0] as $i=>$_vm) { $_action = $_vsm[1][$i]; $cCqeu6KEd4LFk = $this->XQa0UewN3f($_action, $this->F4IXRYNqGySShUMjj); if($cCqeu6KEd4LFk == 1) continue; $_fex2 = $this->HnabdBaTOZ($_action); if($_fex2['f'])continue; $dSeuGOAE_8dFCli = array('__VIEWSTATE','__VIEWSTATEGENERATOR','__EVENTVALIDATION'); $YaDivn1VBzy6yJ = array(); foreach($dSeuGOAE_8dFCli as $p) $YaDivn1VBzy6yJ[$p] = $this->MTvi5BisLl($p, $_vm); $Q6E2sX2sXDNUc = array(); preg_match_all('#__doPostBack(\(.*?\))#is', $_vm, $_dpball); foreach($_dpball[1] as $_dpb) { $_dpb = stripslashes(str_replace('&#39;',"'",$_dpb)); if(preg_match('#\'(.*?)\'(?:\s*\,\'(.*?)\')?#', $_dpb, $_a)){ if($Q6E2sX2sXDNUc[$_a[1]]++) continue; $_fex2 = $this->HnabdBaTOZ($_a[1]); if(!$_fex2['f'] ){ $lT0Vs3VxjBxAH3 = $YaDivn1VBzy6yJ; $lT0Vs3VxjBxAH3['__EVENTTARGET'] = $_a[1]; $lT0Vs3VxjBxAH3['__EVENTARGUMENT'] = $_a[2]; z_fhGrViQaOeql9("\n(post $dp) $_action -> $_a[1]\n"); $O3mTecPWsZVPj45u = $K5kCC5JoHjozL->fetch($_action, 0, false, false,  http_build_query($lT0Vs3VxjBxAH3,'','&'), array('contenttype'=>'application/x-www-form-urlencoded')); $this->ffpknLH3lruh(); if(($_action != $O3mTecPWsZVPj45u['last_url'])){ $cKCGec1Tw[] = $O3mTecPWsZVPj45u['last_url']; }else { $cKCGec1Tw = array_merge($cKCGec1Tw, $this->J288sfitpupJnEcw3($O3mTecPWsZVPj45u['content'], $dp+1)); } z_fhGrViQaOeql9("\n>>".count($cKCGec1Tw).", ".$cKCGec1Tw[0]."\n"); } } } } } return $cKCGec1Tw; } function J288sfitpupJnEcw3($cn, $dp = 0){ global $grab_parameters; if($dp>1)return array(); $mVBhOIPtuHXMVt3_B = $grab_parameters['xs_utf8_enc'] ? 'isu':'is'; $_t = 'a|area|go'; if(!$grab_parameters['xs_disable_feed']) $_t .= '|link'; preg_match_all('#<(?:'.$_t.')(?:[^>]*?\s)href\s*=\s*(?:"([^"]*)|\'([^\']*)|([^\s\"\\\\>]+))[^>]*>#is'.$mVBhOIPtuHXMVt3_B, $cn, $am); preg_match_all('#<option(?:[^>]*?)?value\s*=\s*"(http[^"]*)#is'.$mVBhOIPtuHXMVt3_B, $cn, $wbHEDNyTv6j); $_sc = 'i?frame'.($grab_parameters['xs_parse_js'] ? '|script':''); preg_match_all('#<'.$_sc.'\s[^>]*?src\s*=\s*["\']?(.*?)("|>|\')#is', $cn, $nexwy0P_rGvjchKEd); preg_match_all('#<meta\s[^>]*http-equiv\s*=\s*"?refresh[^>]*URL\s*=\s*["\']?(.*?)("|>|\'[>\s])#'.$mVBhOIPtuHXMVt3_B, $cn, $NrUnGhCWocSUEo); if($grab_parameters['xs_parse_swf']) preg_match_all('#<object[^>]*application/x-shockwave-flash[^>]*data\s*=\s*["\']([^"\'>]+).*?>#'.$mVBhOIPtuHXMVt3_B, $cn, $SXMDOThfSvBx_D);
  																												
  																												else $SXMDOThfSvBx_D = array(array(),array());
  																												
  																												
  																												preg_match_all('#<a[^>]*?onclick\s*=\s*"[^"]*\.load\(\'([^\']*)#'.$mVBhOIPtuHXMVt3_B, $cn, $WQDjuasXLg);
  																												
  																												
  																												preg_match_all('#"url"\:"(http[^"]*)#is'.$mVBhOIPtuHXMVt3_B, $cn, $uy4KVwRH1rG28p_);
  																												
  																												$cKCGec1Tw = array();
  																												
  																												$fQ0AoPlprI = 'stylesheet|publisher';
  																												
  																												if(isset($grab_parameters['xs_robotstxt']) && $grab_parameters['xs_robotstxt'])
  																												
  																												$fQ0AoPlprI .= '|nofollow';
  																												
  																												for($i=0;$i<count($am[1]);$i++)
  																												
  																												{
  																												
  																												if(!preg_match('#rel\s*=\s*["\']?\s*('.$fQ0AoPlprI.')#i', $am[0][$i]))
  																												
  																												$cKCGec1Tw[] = $am[1][$i];
  																												
  																												}
  																												
  																												$cKCGec1Tw = @array_merge(
  																												
  																												$cKCGec1Tw,
  																												
  																												
  																												$am[2],$am[3],  
  																												
  																												$nexwy0P_rGvjchKEd[1],$NrUnGhCWocSUEo[1],
  																												
  																												$wbHEDNyTv6j[1],$WQDjuasXLg[1],
  																												
  																												$uy4KVwRH1rG28p_[1],
  																												
  																												$SXMDOThfSvBx_D[1]);
  																												
  																												if($grab_parameters['xs_parse_js'] &&
  																												
  																												$this->hVgV5J75NEESyCQgUY('xs_parse_js_only', $this->F4IXRYNqGySShUMjj, true)
  																												
  																												){
  																												
  																												z_fhGrViQaOeql9("\n*** Parse JS - ".$this->F4IXRYNqGySShUMjj."\n");
  																												
  																												
  																												$cKCGec1Tw = @array_merge($cKCGec1Tw, $this->SWv7WC7WEJVO($cn, $dp));
  																												
  																												}
  																												
  																												return $cKCGec1Tw;
  																												
  																												}
  																												
  																												function KH6aKAnNWiCYJWvf($q2PfaTx_3ig){
  																												
  																												
  																												return preg_replace('#^(www|\w)\.#', '', $q2PfaTx_3ig);
  																												
  																												}
  																												
  																												function XQa0UewN3f(&$a, $EYyBXYy9WWbLGYL5iQ, $blUx9Th8GWx0bsSC = '')
  																												
  																												{
  																												
  																												global $grab_parameters;
  																												
  																												$OdZB8ypqkYH0RE87bq = $this->OdZB8ypqkYH0RE87bq;
  																												
  																												$KrTMgWoxdnmEih0271 = $this->KrTMgWoxdnmEih0271;
  																												
  																												
  																												
  																												if(strstr($EYyBXYy9WWbLGYL5iQ,'://')) {
  																												
  																												$OdZB8ypqkYH0RE87bq = preg_replace('#(:\/\/.*?)\/.*$#', '$01', $KrTMgWoxdnmEih0271);
  																												
  																												
  																												}
  																												
  																												$WyXkTyAK3kSMA = parse_url($this->Niq61B3f5T);
  																												
  																												if($WyXkTyAK3kSMA['scheme'] && substr($a, 0, 2) == '//')
  																												
  																												$a = $WyXkTyAK3kSMA['scheme'].':'.$a;
  																												
  																												$KsbskAuOsxLPc1sC = @parse_url($a);
  																												
  																												if($KsbskAuOsxLPc1sC['scheme'] && ($KsbskAuOsxLPc1sC['scheme']!='http')&& ($KsbskAuOsxLPc1sC['scheme']!='https')) {
  																												
  																												$cCqeu6KEd4LFk = 1;
  																												
  																												}else {
  																												
  																												$a = str_replace(':80/', '/', $a);
  																												$a = str_replace(':443/', '/', $a);
  																												
  																												if($a[0]=='?')$a = preg_replace('#^([^\?]*?)([^/\?]*?)(\?.*)?$#','$2',$EYyBXYy9WWbLGYL5iQ).$a;
  																												
  																												if($grab_parameters['xs_inc_ajax'] && strstr($a,'#!')){
  																												
  																												$KrTMgWoxdnmEih0271 = preg_replace('#\#.*$#', '', $KrTMgWoxdnmEih0271);
  																												
  																												if($a[0] != '/' && !strstr($a,':/'))
  																												
  																												$a = $KrTMgWoxdnmEih0271 . preg_replace('#^([^\#]*?/)?([^/\#]*)?(\#.*)?$#', '$2', $EYyBXYy9WWbLGYL5iQ).$a;
  																												
  																												}
  																												
  																												if(preg_match('#^https?(:|&\#58;)#is',$a)){
  																												
  																												if(preg_match('#://[^/]*$#is',$a))
  																												
  																												$a .= '/';
  																												
  																												}
  																												
  																												else if($a&&$a[0]=='/')$a = $OdZB8ypqkYH0RE87bq.$a;
  																												
  																												else $a = $KrTMgWoxdnmEih0271.$a;
  																												
  																												if($a[0]=='/')$a = $OdZB8ypqkYH0RE87bq.$a;
  																												
  																												$a=str_replace('/./','/',$a);
  																												
  																												$a=preg_replace('#/\.$#','/',$a);
  																												
  																												if(substr($a,-2) == '..')$a.='/';
  																												
  																												if(strstr($a,'../')){
  																												
  																												preg_match('#(.*?:.*?//.*?)(/.*)$#',$a,$aa);
  																												
  																												do{
  																												
  																												$ap = $aa[2];
  																												
  																												$aa[2] = preg_replace('#/?[^/]*/\.\.#','',$ap,1);
  																												
  																												}while($aa[2]!=$ap);
  																												
  																												$a = $aa[1].$aa[2];
  																												
  																												}
  																												
  																												$a = preg_replace('#/\./#','/',$a);
  																												
  																												$a = str_replace(
  																												
  																												array('&#38;','&#038;','&amp;','&#x3a;','&#x3A;','&#x2f;', '&#x2F;'),
  																												
  																												array('&', '&', '&', ':', ':', '/', '/')
  																												
  																												,$a);
  																												
  																												
  																												
  																												
  																												$a = preg_replace('#([^&])\#'.($grab_parameters['xs_inc_ajax']?'([^\!]|$)':'').'.*$#','$01',$a);
  																												
  																												
  																												$a = preg_replace('#^(/)/+#','\\1',$a);
  
  																												
  																												$a = preg_replace('#[\r\n]+#s','',$a);
  																												
  																												
  																												if($grab_parameters['xs_cleanurls'])
  																												
  																												$a = @preg_replace($grab_parameters['xs_cleanurls'],'',$a);
  																												
  																												if($grab_parameters['xs_custom_replace']){
  																												
  																												global $Uem3Rs_JAbbzZ;
  																												
  																												if(!isset($Uem3Rs_JAbbzZ)){
  																												
  																												$_ar = preg_split('#[\r\n]+#', trim($grab_parameters['xs_custom_replace']));
  																												
  																												$Uem3Rs_JAbbzZ = array();
  																												
  																												foreach($_ar as $v){
  																												
  																												$me = explode(' ', $v);
  																												
  																												if($me[0]&&$me[1])$Uem3Rs_JAbbzZ['#'.$me[0].'#'] = $me[1];
  																												
  																												}
  																												
  																												}
  																												
  																												if($Uem3Rs_JAbbzZ){
  																												
  																												$a = @preg_replace(array_keys($Uem3Rs_JAbbzZ),array_values($Uem3Rs_JAbbzZ),$a);
  																												
  																												}
  																												
  																												}
  																												
  																												if($grab_parameters['xs_cleanpar'])
  																												
  																												{
  																												
  																												do {
  																												
  																												$jwblm4pgqCSdGONbuY = $a;
  																												
  //$a = @preg_replace('#[\\?\\&]('.$grab_parameters['xs_cleanpar'].')=[a-z0-9\-\.\_\=\/]+$#i','',$a);
  $a = @preg_replace('#[\\?\\&]('.$grab_parameters['xs_cleanpar'].')=[a-z0-9\-\.\_\=\/]*$#i','',$a);
  																												
  //$a = @preg_replace('#([\\?\\&])('.$grab_parameters['xs_cleanpar'].')=[a-z0-9\-\.\_\=\/]+&#i','$1',$a);
  $a = @preg_replace('#([\\?\\&])('.$grab_parameters['xs_cleanpar'].')=[a-z0-9\-\.\_\=\/]*&#i','$1',$a);
  																												
  																												}while($a != $jwblm4pgqCSdGONbuY);
  																												
  																												$a = @preg_replace('#\?\&?$#','',$a);
  																												
  																												}
  																												
  																												
  																												$cCqeu6KEd4LFk = (strtolower(substr($a,0,strlen($this->Niq61B3f5T)) ) != strtolower($this->Niq61B3f5T)) ? 1 : 0;
  																												
  																												if($cCqeu6KEd4LFk && $grab_parameters['xs_allow_subdomains']){
  																												
  																												$KsbskAuOsxLPc1sC = @parse_url($a);
  																												
  																												if($KsbskAuOsxLPc1sC['host'] &&
  																												
  																												
  																												preg_match('#^(.*?\.)?'.preg_quote($this->KH6aKAnNWiCYJWvf($WyXkTyAK3kSMA['host']),'#').'$#', $KsbskAuOsxLPc1sC['host'])
  																												
  																												){
  																												
  																												$cCqeu6KEd4LFk = 2;
  																												
  																												}
  																												
  																												}
  																												
  																												if($cCqeu6KEd4LFk && $blUx9Th8GWx0bsSC) {
  																												
  																												
  																												$r8lJYbqC8z9vA_YwgZ = $this->dYfVkEYUS1map3XFd8($blUx9Th8GWx0bsSC);
  																												
  																												
  																												if($r8lJYbqC8z9vA_YwgZ && preg_match('#('.$r8lJYbqC8z9vA_YwgZ.')#', $a))
  																												
  																												$cCqeu6KEd4LFk = 2;
  																												
  																												}
  																												
  																												}
  																												
  																												z_fhGrViQaOeql9("<br/>($a -- $cCqeu6KEd4LFk - $EYyBXYy9WWbLGYL5iQ - $OdZB8ypqkYH0RE87bq - $KrTMgWoxdnmEih0271 - [".$this->KH6aKAnNWiCYJWvf($WyXkTyAK3kSMA['host']).", ".$KsbskAuOsxLPc1sC['host']."])<br>\n",3);
  																												
  																												return $cCqeu6KEd4LFk;
  																												
  																												}
  																												
  																												function hVgV5J75NEESyCQgUY($oJ5unwFQhNolkKRYs, $EYyBXYy9WWbLGYL5iQ, $OBfrooBYrp0IcNgFcy5 = true){
  																												
  																												global $XATMoSEjrtJR2AWn9u,$grab_parameters;
  																												
  																												$dA8T7ubjCXUZ2 = $OBfrooBYrp0IcNgFcy5;
  																												
  																												if($grab_parameters[$oJ5unwFQhNolkKRYs]){
  																												
  																												if(!isset($XATMoSEjrtJR2AWn9u[$oJ5unwFQhNolkKRYs])){
  																												
  																												$XATMoSEjrtJR2AWn9u[$oJ5unwFQhNolkKRYs] = $grab_parameters[$oJ5unwFQhNolkKRYs];
  																												
  																												if(!preg_match('#[\*\$]#',$XATMoSEjrtJR2AWn9u[$oJ5unwFQhNolkKRYs]))
  																												
  																												$XATMoSEjrtJR2AWn9u[$oJ5unwFQhNolkKRYs] = preg_quote($XATMoSEjrtJR2AWn9u[$oJ5unwFQhNolkKRYs],'#');
  																												
  																												$XATMoSEjrtJR2AWn9u[$oJ5unwFQhNolkKRYs] = '#'.str_replace(' ', '|', $XATMoSEjrtJR2AWn9u[$oJ5unwFQhNolkKRYs]).'#';
  																												
  																												}
  																												
  																												$dA8T7ubjCXUZ2 = preg_match($XATMoSEjrtJR2AWn9u[$oJ5unwFQhNolkKRYs],$EYyBXYy9WWbLGYL5iQ);
  																												
  																												}
  																												
  																												return $dA8T7ubjCXUZ2;
  																												
  																												}
  																												
  																												function dYfVkEYUS1map3XFd8($KDTEDseXOWMlsG){
  																												
  																												if(!isset($this->v9IRE8CtKo6[$KDTEDseXOWMlsG])){
  																												
  																												$this->v9IRE8CtKo6[$KDTEDseXOWMlsG] = trim($KDTEDseXOWMlsG) ? preg_replace("#\s*[\r\n]+\s*#",'|', (strstr($s=trim($KDTEDseXOWMlsG),'*')?$s:preg_quote($s,'#'))) : '';
  																												
  																												}
  																												
  																												return $this->v9IRE8CtKo6[$KDTEDseXOWMlsG];
  																												
  																												}
  																												
  																												function fylX1lYhxq9Swj9($m2GAv90hXZhKCGR, $EYyBXYy9WWbLGYL5iQ) {
  																												
  																												$f = false;
  																												
  																												if($m2GAv90hXZhKCGR)
  																												
  																												foreach($m2GAv90hXZhKCGR as $bm)
  																												
  																												{
  																												
  																												$f = $f || preg_match('#^('.$bm.')#', $EYyBXYy9WWbLGYL5iQ);
  																												
  																												}
  																												
  																												return $f;
  																												
  																												}
  																												
  																												function VFZlf5sNkzX7GF7k($EYyBXYy9WWbLGYL5iQ) {
  																												
  																												return  $this->fylX1lYhxq9Swj9($this->Nt_1IROZP14owm4DAeH, $EYyBXYy9WWbLGYL5iQ)
  																												
  																												&& !$this->fylX1lYhxq9Swj9($this->botmatch_allow, $EYyBXYy9WWbLGYL5iQ);
  																												
  																												}
  																												
  																												function HnabdBaTOZ(&$EYyBXYy9WWbLGYL5iQ) {
  																												
  																												global $grab_parameters;
  																												
  																												if(isset($this->xNVJOXeK2sW[$EYyBXYy9WWbLGYL5iQ]))
  																												
  																												$EYyBXYy9WWbLGYL5iQ =$this->xNVJOXeK2sW[$EYyBXYy9WWbLGYL5iQ];
  																												
  																												$f = $this->HDxSUg0eWtUQjt && preg_match('#'.$grab_parameters['xs_exc_skip'].'#i',$EYyBXYy9WWbLGYL5iQ);
  																												
  																												if($this->GjJcq8T1P9&&!$f)$f=$f||@preg_match('#('.$this->GjJcq8T1P9.')#',$EYyBXYy9WWbLGYL5iQ);
  																												
  																												if($this->duBMhqfH7kGKH && $f && $grab_parameters['xs_incl_force'])
  																												
  																												$f = !preg_match('#('.$this->duBMhqfH7kGKH.')#',$EYyBXYy9WWbLGYL5iQ);
  																												
  																												$f = $f || $this->VFZlf5sNkzX7GF7k($this->T_IVB6tYAThxWS . $EYyBXYy9WWbLGYL5iQ);
  																												
  																												$f2 = false;
  																												
  																												$mXVOQkdQzwnNzlTzU = false;
  																												
  																												if(!$f)
  																												
  																												{
  																												
  																												$f2 = $this->kNSV2dId7YB && preg_match('#'.$grab_parameters['xs_inc_skip'].'#i',$EYyBXYy9WWbLGYL5iQ);
  																												
  																												if($this->duBMhqfH7kGKH && !$f2)
  																												
  																												$f2 = $f2||(preg_match('#('.$this->duBMhqfH7kGKH.')#',$EYyBXYy9WWbLGYL5iQ));
  																												
  																												if($grab_parameters['xs_parse_only'] && !$f2 && $EYyBXYy9WWbLGYL5iQ && ($EYyBXYy9WWbLGYL5iQ!='/'))
  																												
  																												{
  																												
  																												
  																												$f2 = $f2 || !$this->hVgV5J75NEESyCQgUY('xs_parse_only', $EYyBXYy9WWbLGYL5iQ, true);
  																												
  																												}
  																												
  																												}
  																												
  																												$f3 = false;
  																												
  																												if($this->noincmask)$f3=@preg_match('#('.$this->noincmask.')#',$EYyBXYy9WWbLGYL5iQ);
  																												
  																												return array('f' => $f, 'f2' => $f2, 'f3' => $f3);	
  																												
  																												}
  																												
  																												 
  																												
  																												function pJIy8HIUg($lT0Vs3VxjBxAH3,&$urls_completed) {
  																												
  																												global $grab_parameters,$K5kCC5JoHjozL;
  																												
  																												
  																												error_reporting(E_ALL&~E_NOTICE);
  																												
  																												$this->lT0Vs3VxjBxAH3 = $lT0Vs3VxjBxAH3;
  																												
  																												@set_time_limit($grab_parameters['xs_exec_time']);
  																												
  																												if($this->lT0Vs3VxjBxAH3['bgexec'])
  																												
  																												{
  																												
  																												ignore_user_abort(true);
  																												
  																												}
  																												
  																												register_shutdown_function('MjfS99JQfMEzIgi');
  																												
  																												if(function_exists('ini_set'))
  																												
  																												{
  																												
  																												@ini_set("zlib.output_compression", 0);
  																												
  																												@ini_set("output_buffering", 0);
  																												
  																												}
  																												
  																												$MaMJn8Q5cIWqbSsi3R = explode(" ",microtime());
  																												
  																												$this->L3KcxI6fDP = $MaMJn8Q5cIWqbSsi3R[0]+$MaMJn8Q5cIWqbSsi3R[1];
  																												
  																												$starttime = $u3Aj3kpP8f7NX = time();
  																												
  																												$bsdObbWFYcM20JyA = $this->nettime = 0;
  																												
  																												$this->iK6zN3FNMZ = $this->lT0Vs3VxjBxAH3['initurl'];
  																												
  																												$this->qWPODI2gyt3Aa = $this->lT0Vs3VxjBxAH3['maxpg']>0 ? $this->lT0Vs3VxjBxAH3['maxpg'] : 1E10;
  																												
  																												$RlO1HaAgQ = $this->lT0Vs3VxjBxAH3['maxdepth'] ? $this->lT0Vs3VxjBxAH3['maxdepth'] : -1;
  																												
  																												$this->d069GWOopKkeA = $this->lT0Vs3VxjBxAH3['progress_callback'];
  																												
  																												$this->GjJcq8T1P9 = $this->dYfVkEYUS1map3XFd8($grab_parameters['xs_excl_urls']);
  																												
  																												$this->duBMhqfH7kGKH = $this->dYfVkEYUS1map3XFd8($grab_parameters['xs_incl_urls']);
  																												
  																												$this->noincmask = $this->dYfVkEYUS1map3XFd8($grab_parameters['xs_noincl_urls']);
  																												
  																												$b7bWC1DiTPmt8mWhN = $this->dYfVkEYUS1map3XFd8($grab_parameters['xs_prev_sm_incl']);
  																												
  																												$Hqm42kdaBr = $gjEB17v5UJj1SxRZ = array();
  																												
  																												$ZR1vtYkW3IIT6ji = '';
  																												
  																												$tV12hsJy_ = preg_split('#[\r\n]+#', $grab_parameters['xs_ind_attr']);
  																												
  																												$gk7xyukmlMb = '#200'.($grab_parameters['xs_allow_httpcode']?'|'.$grab_parameters['xs_allow_httpcode']:'').'#';
  																												
  																												$kYhgTL6xjtaMnUKyj = '#400|429'.($grab_parameters['xs_badreq_httpcode']?'|'.$grab_parameters['xs_badreq_httpcode']:'').'#';
  																												
  																												if($grab_parameters['xs_memsave'])
  																												
  																												{
  																												
  																												if(!file_exists(QKL711IVYlu7s9YRPO))
  																												
  																												mkdir(QKL711IVYlu7s9YRPO, 0777);
  																												
  																												else
  																												
  																												if($this->lT0Vs3VxjBxAH3['resume']=='')
  																												
  																												Znq7ffD8tRtK7G7k(QKL711IVYlu7s9YRPO, '.txt');
  																												
  																												}
  																												
  																												foreach($tV12hsJy_ as $ia)
  																												
  																												if($ia)
  																												
  																												{
  																												
  																												$is = explode(',', $ia);
  																												
  																												if($is[0][0]=='$')
  																												
  																												$fAd6l0J5ko7BH6Qi = substr($is[0], 1);
  																												
  																												else
  																												
  																												$fAd6l0J5ko7BH6Qi = str_replace(array('\\^', '\\$'), array('^','$'), preg_quote($is[0],'#'));
  																												
  																												$gjEB17v5UJj1SxRZ[] = $fAd6l0J5ko7BH6Qi;
  																												
  																												
  																												$Hqm42kdaBr[] = 
  																												
  																												array('lm' => $is[1], 'f' => $is[2], 'p' => $is[3]);
  																												
  																												}
  																												
  																												if($gjEB17v5UJj1SxRZ)
  																												
  																												$ZR1vtYkW3IIT6ji = '('.implode(')|(',$gjEB17v5UJj1SxRZ).')';
  																												
  																												$bcUHiUvk1__NNu9qID = parse_url($this->iK6zN3FNMZ);
  																												
  																												if(!$bcUHiUvk1__NNu9qID['path']){$this->iK6zN3FNMZ.='/';$bcUHiUvk1__NNu9qID = parse_url($this->iK6zN3FNMZ);}
  																												
  																												if($grab_parameters['xs_moreurls']){
  																												
  																												
  																												$this->mu = preg_split('#[\r\n]+#', $grab_parameters['xs_moreurls']);
  																												
  																												foreach($this->mu as $mi=>$nO36g2p2q_KYnh7qxVo){
  																												
  																												$nO36g2p2q_KYnh7qxVo = str_replace($this->Niq61B3f5T, '', $nO36g2p2q_KYnh7qxVo);
  																												
  																												$O3mTecPWsZVPj45u = $K5kCC5JoHjozL->fetch($nO36g2p2q_KYnh7qxVo,0,true);
  																												
  																												if($mi>3)break;
  																												
  																												}
  																												
  																												}
  																												
  																												$O3mTecPWsZVPj45u = $K5kCC5JoHjozL->fetch($this->iK6zN3FNMZ,0,true);// the first request is to skip session id
  																												
  																												
  																												$X74d424h9xleHSS = !preg_match($gk7xyukmlMb,$O3mTecPWsZVPj45u['code']);
  																												
  																												
  																												
  																												if($X74d424h9xleHSS)
  																												
  																												{
  																												
  																												$X74d424h9xleHSS = '';
  																												
  																												foreach($O3mTecPWsZVPj45u['headers'] as $k=>$v)
  																												
  																												$X74d424h9xleHSS .= $k.': '.$v.'<br />';
  																												
  																												return array(
  																												
  																												'errmsg'=>'<b>There was an error while retrieving the URL specified:</b> '.$this->iK6zN3FNMZ.''.
  																												
  																												($O3mTecPWsZVPj45u['errormsg']?'<br><b>Error message:</b> '.$O3mTecPWsZVPj45u['errormsg']:'').
  																												
  																												'<br><b>HTTP Code:</b><br>'.$O3mTecPWsZVPj45u['protoline'].
  																												
  																												'<br><b>HTTP headers:</b><br>'.$X74d424h9xleHSS.
  																												
  																												'<br><b>HTTP output:</b><br>'.$O3mTecPWsZVPj45u['content']
  																												
  																												,
  																												
  																												);
  																												
  																												}
  																												
  																												$this->iK6zN3FNMZ = $O3mTecPWsZVPj45u['last_url'];
  																												
  																												$urls_completed = array();
  																												
  																												$urls_ext = array();
  																												
  																												$urls_404 = array();
  																												
  																												$this->OdZB8ypqkYH0RE87bq = $bcUHiUvk1__NNu9qID['scheme'].'://'.$bcUHiUvk1__NNu9qID['host'].((!$bcUHiUvk1__NNu9qID['port'] || ($bcUHiUvk1__NNu9qID['port']=='80'))?'':(':'.$bcUHiUvk1__NNu9qID['port']));
  																												
  																												$this->pn = $this->tsize = $retrno = $D8EOhUUDgGFotoZ8 = $gOJkENRoH = $this->fetch_no = 0;
  																												
  																												$this->Niq61B3f5T = YePgHxjTNXTAB($this->OdZB8ypqkYH0RE87bq.'/', A4sNJQoe6O47I_YC4($bcUHiUvk1__NNu9qID['path']));
  																												
  																												$MMwXOhanJ6q = parse_url($this->Niq61B3f5T);
  																												
  																												$this->T_IVB6tYAThxWS = preg_replace('#^.+://[^/]+#', '', $this->Niq61B3f5T);
  																												
  																												$fdata2 = $K5kCC5JoHjozL->fetch($this->iK6zN3FNMZ,0,true,true);
  																												
  																												$Ur6IsVd9ao9Ycn = str_replace($this->Niq61B3f5T,'',$this->iK6zN3FNMZ);
  																												
  																												$urls_list_full = array($Ur6IsVd9ao9Ycn=>1);
  																												
  																												if(!$Ur6IsVd9ao9Ycn)$Ur6IsVd9ao9Ycn='';
  																												
  																												$urls_list = array($Ur6IsVd9ao9Ycn=>1);
  																												
  																												$urls_list2 = $urls_list_skipped = array();
  																												
  																												$this->xNVJOXeK2sW = array();
  																												
  																												$this->links_level = 0;
  																												
  																												$eYgPj3ZHK0T12hAy = $ref_links = $ref_links2 = $ref_links_list = array();
  																												
  																												$NgBWwllTme = 0;
  																												
  																												
  																												
  																												$Ho3EyQEy5sso9sRWd = $this->qWPODI2gyt3Aa;
  																												
  																												if(!$grab_parameters['xs_progupdate'])$grab_parameters['xs_progupdate'] = 20;
  																												
  																												$this->Nt_1IROZP14owm4DAeH = array();
  																												
  																												$this->botmatch_allow = array();
  																												
  																												if(isset($grab_parameters['xs_robotstxt']) && $grab_parameters['xs_robotstxt'])
  																												
  																												{
  																												
  																												$YlUEXWvoXpwz6PaGySd = $K5kCC5JoHjozL->fetch($this->OdZB8ypqkYH0RE87bq.'/robots.txt');
  																												
  																												if($this->OdZB8ypqkYH0RE87bq.'/' != $this->Niq61B3f5T)
  																												
  																												{
  																												
  																												$GRmeg_68ZvfdvyJw8v = $K5kCC5JoHjozL->fetch($this->Niq61B3f5T.'robots.txt');
  																												
  																												$YlUEXWvoXpwz6PaGySd['content']  .= "\n".$GRmeg_68ZvfdvyJw8v['content'];
  																												
  																												}
  																												
  																												$ra=preg_split('#user-agent:\s*#im',$YlUEXWvoXpwz6PaGySd['content']);
  																												
  																												$NBx_26Cujx04fN=$KPnlaCP0s89m=array();
  																												
  																												for($i=1;$i<count($ra);$i++){
  																												
  																												preg_match('#^(\S+)(.*)$#s',$ra[$i],$xEK1Ksnyt9EG);
  																												
  																												if($xEK1Ksnyt9EG[1]=='*'||strstr($xEK1Ksnyt9EG[1],'google')){
  																												
  																												preg_match_all('#^disallow:\s*(\S*)#im',$xEK1Ksnyt9EG[2],$rm);
  																												
  																												for($pi=0;$pi<count($rm[1]);$pi++)
  																												
  																												if($rm[1][$pi])
  																												
  																												$NBx_26Cujx04fN[] = 
  																												
  																												str_replace('\\$','$',
  																												
  																												str_replace('\\*','.*',
  																												
  																												preg_quote($rm[1][$pi],'#')
  																												
  																												));
  																												
  																												preg_match_all('#^allow:\s*(\S*)#im',$xEK1Ksnyt9EG[2],$rm);
  																												
  																												for($pi=0;$pi<count($rm[1]);$pi++)
  																												
  																												if($rm[1][$pi] && ($rm[1][$pi]!='/')) {
  																												
  																												$KPnlaCP0s89m[] = 
  																												
  																												str_replace('\\$','$',
  																												
  																												str_replace('\\*','.*',
  																												
  																												preg_quote($rm[1][$pi],'#')
  																												
  																												));
  																												
  																												}
  																												
  																												}
  																												
  																												}
  																												
  																												for($i=0;$i<count($NBx_26Cujx04fN);$i+=200)
  																												
  																												$this->Nt_1IROZP14owm4DAeH[]=implode('|', array_slice($NBx_26Cujx04fN, $i,200));
  																												
  																												for($i=0;$i<count($KPnlaCP0s89m);$i+=200)
  																												
  																												$this->botmatch_allow[]=implode('|', array_slice($KPnlaCP0s89m, $i,200));
  																												
  																												}
  																												
  																												if($grab_parameters['xs_inc_ajax'])
  																												
  																												$grab_parameters['xs_proto_skip'] = str_replace(
  																												
  																												'\#', '\#(?:[^\!]|$)', $grab_parameters['xs_proto_skip']);
  																												
  																												$this->HDxSUg0eWtUQjt = $grab_parameters['xs_exc_skip']!='\\.()';
  																												
  																												$this->kNSV2dId7YB = $grab_parameters['xs_inc_skip']!='\\.()';
  																												
  																												$grab_parameters['xs_inc_skip'] .= '(?:$|\?)';
  																												
  																												$grab_parameters['xs_exc_skip'] .= '(?:$|\?)';
  																												
  																												if($grab_parameters['xs_debug']) {
  																												
  																												$_GET['ddbg']=1;
  																												
  																												PMVKiWGsLbTpXo0qagQ();
  																												
  																												}
  																												
  																												$paeh3sXfU = 0;
  																												
  																												$runstate = array();
  																												
  																												$url_ind = 0;
  																												
  																												$cnu = 1;
  																												
  																												$pf = tMsFwxcfs9YfeVoHZkr(ebJGVa__YE.wLyh1d0ilMb,'w');fclose($pf);
  																												
  																												$Qw4OhMRiQXE9Pvp0y22 = false;
  																												
  																												if($this->lT0Vs3VxjBxAH3['resume']!=''){
  																												
  																												$AngxaIfOJ = @IcPgk0YCJ(RWenvmRCuyBW(ebJGVa__YE.smWzxPC1LKDbUte, true));
  																												
  																												if($AngxaIfOJ)
  																												
  																												{
  																												
  																												$Qw4OhMRiQXE9Pvp0y22 = true;
  																												
  																												echo 'Resuming the last session (last updated: '.date('Y-m-d H:i:s',$AngxaIfOJ['time']).')'."\n";
  																												
  																												extract($AngxaIfOJ);
  																												
  																												foreach($AngxaIfOJ as $k=>$v){
  																												
  																												if(isset($this->$k))$this->$k=$v;
  																												
  																												}
  																												
  																												$this->L3KcxI6fDP-=$this->ctime;
  																												
  																												$paeh3sXfU = $this->ctime;
  																												
  																												unset($AngxaIfOJ);
  																												
  																												}
  																												
  																												}
  																												
  																												$CycjTbE1bsdEES4EbPq = 0;
  																												
  																												if(!$Qw4OhMRiQXE9Pvp0y22){
  																												
  																												if($grab_parameters['xs_moreurls']){
  																												
  																												$this->mu = preg_split('#[\r\n]+#', $grab_parameters['xs_moreurls']);
  																												
  																												foreach($this->mu as $nO36g2p2q_KYnh7qxVo){
  																												
  																												
  																												
  																												$cCqeu6KEd4LFk = $this->XQa0UewN3f($nO36g2p2q_KYnh7qxVo, $this->F4IXRYNqGySShUMjj);
  																												
  																												
  																												$urls_list[$nO36g2p2q_KYnh7qxVo]++;
  																												
  																												}
  																												
  																												}
  																												
  																												if($grab_parameters['xs_prev_sm_base']){
  																												
  																												if($sm_base = @RWenvmRCuyBW(ebJGVa__YE.'sm_base.db',true)){
  																												
  																												$sm_base = @unserialize($sm_base);
  																												
  																												}
  																												
  																												if(is_array($sm_base)
  																												
  																												&& ($grab_parameters['xs_prev_sm_base_min']<count($sm_base))
  																												
  																												){
  																												
  																												foreach($sm_base as $_u=>$_e)
  																												
  																												$urls_list[$_u]++;
  																												
  																												}
  																												
  																												else
  																												
  																												$sm_base = array();
  																												
  																												}
  																												
  																												$CycjTbE1bsdEES4EbPq = count($urls_list);
  																												
  																												$urls_list_full = $urls_list;
  																												
  																												$cnu = count($urls_list);
  																												
  																												}
  																												
  																												$CUx3ZI0WzO = explode('|', $grab_parameters['xs_force_inc']);
  																												
  																												$fge8exEbRfdVJOzP8V_ = $bT1vStOWyX = array();
  																												
  																												$this->VP8vAJd3fs3x1Ygo = count($urls_completed);
  																												
  																												$this->ApWk9cNV4bVZkvPX = count($urls_list2);
  																												
  																												sleep(1); @jgYSLBDPtmpAo(ebJGVa__YE.wLyh1d0ilMb);
  																												
  																												
  																												$this->ffpknLH3lruh();
  																												
  																												
  																												if($urls_list)
  																												
  																												do {
  																												
  																												YHHPuGcJpxLDUfERty('pre',true);
  																												
  																												YHHPuGcJpxLDUfERty('pre1');
  																												
  																												if($fge8exEbRfdVJOzP8V_) {
  																												
  																												$_ul = array_shift($fge8exEbRfdVJOzP8V_);
  																												
  																												}else
  																												
  																												$_ul = each($urls_list);
  																												
  																												list($this->F4IXRYNqGySShUMjj, $DUZrQcBoQ) = $_ul;
  																												
  																												$b5bOuoZcPCglzF = ($DUZrQcBoQ>0 && $DUZrQcBoQ<1) ? $DUZrQcBoQ : 0;
  																												
  																												$url_ind++;
  																												
  																												z_fhGrViQaOeql9("\n[ $url_ind - $this->F4IXRYNqGySShUMjj, $DUZrQcBoQ] \n");
  																												
  																												unset($urls_list[$this->F4IXRYNqGySShUMjj]);
  																												
  																												$KDdCtJPGUBu9Wq = yiI3GJqLr5Z($this->F4IXRYNqGySShUMjj);
  																												
  																												$XSgHgDDEhTbwopK_PT = false;
  																												
  																												$LyZYub5sAF58GG = '';
  																												
  																												YHHPuGcJpxLDUfERty('pre1',true);
  																												
  																												YHHPuGcJpxLDUfERty('pre2a');
  																												
  																												$O3mTecPWsZVPj45u = array();
  																												
  																												$cn = '';
  																												
  																												$this->vBIKyMEhBONsP = $_fex = $this->HnabdBaTOZ($this->F4IXRYNqGySShUMjj);
  																												
  																												extract($_fex);
  																												
  																												
  																												
  																												YHHPuGcJpxLDUfERty('pre2a',true);
  																												
  																												YHHPuGcJpxLDUfERty('pre2b');
  																												
  																												if(!$f && ($this->VP8vAJd3fs3x1Ygo>0) && ($mXVOQkdQzwnNzlTzU = $sm_base[$this->F4IXRYNqGySShUMjj])){
  																												
  																												$f2 = true;
  																												
  																												}
  
  																												
  																												YHHPuGcJpxLDUfERty('pre2b',true);
  if($fdata2 && strstr($fdata2['content'],'header'))$f2 = true;
  																												
  																												do{
  																												
  																												$sHQF4BoAenBu9haawqS = count($urls_list) + $this->ApWk9cNV4bVZkvPX + $this->VP8vAJd3fs3x1Ygo;      
  																												
  																												$f3 = $CUx3ZI0WzO[2] && (
  																												
  																												($Ho3EyQEy5sso9sRWd*$CUx3ZI0WzO[2]+1000)<
  																												
  																												($M_05edZvR-$url_ind-$CycjTbE1bsdEES4EbPq));
  																												
  																												if(!$f && !$f2)
  																												
  																												{
  																												
  																												
  																												$E45nP_d0Gh = ($CUx3ZI0WzO[1] && 
  																												
  																												(
  																												
  																												(($this->ctime>$CUx3ZI0WzO[0]) && ($this->pn>$this->qWPODI2gyt3Aa*$CUx3ZI0WzO[1]))
  																												
  																												|| $f3));	
  																												
  																												$i64_RzaxP7PMd7s = ($CUx3ZI0WzO[3] && $this->qWPODI2gyt3Aa && (($sHQF4BoAenBu9haawqS>$this->qWPODI2gyt3Aa*$CUx3ZI0WzO[3])));
  																												
  																												if($CUx3ZI0WzO[3] && $this->qWPODI2gyt3Aa && (($this->pn>$this->qWPODI2gyt3Aa*$CUx3ZI0WzO[3]))){
  																												
  																												$urls_list = $urls_list2 = array();
  																												
  																												$this->ApWk9cNV4bVZkvPX = 0;
  																												
  																												$cnu = 0;
  																												
  																												}
  																												
  																												if($RlO1HaAgQ<=0 || $this->links_level<$RlO1HaAgQ)
  																												
  																												{
  																												
  																												YHHPuGcJpxLDUfERty('extract');
  																												
  																												$nBkwKlofG1 = microtime(true);
  																												
  																												$Pj81O2W_d6lwy = YePgHxjTNXTAB($this->Niq61B3f5T, $this->F4IXRYNqGySShUMjj);
  																												
  																												if(e6p6oz8D73L8('xs_http_parallel')){
  																												
  																												if(!$fge8exEbRfdVJOzP8V_ && !isset($K5kCC5JoHjozL->mPLdZvfSTzaO[$Pj81O2W_d6lwy])){
  																												
  																												$fge8exEbRfdVJOzP8V_ = array();
  																												
  																												$bT1vStOWyX = array($Pj81O2W_d6lwy);
  																												
  																												$_par = e6p6oz8D73L8('xs_http_parallel_num', 10);
  																												
  																												for($i=0;($i<$_par*5)&&(count($bT1vStOWyX)<$_par);$i++)
  																												
  																												if($_ul = each($urls_list)) {
  																												
  																												$fge8exEbRfdVJOzP8V_[] = $_ul;
  																												
  																												$_fex2 = $this->HnabdBaTOZ($_ul[0]);
  																												
  																												if(!$_fex2['f'] && !$_fex2['f2']){
  																												
  																												$_u1 = YePgHxjTNXTAB($this->Niq61B3f5T, $_ul[0]);
  																												
  																												if(!isset($sm_base[$_u1])){
  																												
  																												$bT1vStOWyX[] = $_u1;
  																												
  																												}
  																												
  																												}
  																												
  																												}
  																												
  																												$K5kCC5JoHjozL->t7RRTKqTzMKk($bT1vStOWyX);
  																												
  																												}
  																												
  																												}
  																												
  																												
  																												
  																												z_fhGrViQaOeql9("<h4> { $Pj81O2W_d6lwy } </h4>\n");
  																												
  																												$lv3sjQRQ1U1=0;
  																												
  																												$D8EOhUUDgGFotoZ8++;
  																												
  																												do {
  																												
  																												$O3mTecPWsZVPj45u = $K5kCC5JoHjozL->fetch($Pj81O2W_d6lwy, 0, 0);
  																												
  																												$this->ffpknLH3lruh();
  																												
  																												$_to = $O3mTecPWsZVPj45u['flags']['socket_timeout'];
  																												
  																												if($_to && ($MMwXOhanJ6q['host']!=$O3mTecPWsZVPj45u['purl']['host'])){
  																												
  																												$O3mTecPWsZVPj45u['flags']['error'] = 'Host doesn\'t match';
  																												
  																												}
  																												
  																												$_ic = intval($O3mTecPWsZVPj45u['code']);
  																												
  																												$jqShMclc87KzIClgU = preg_match($kYhgTL6xjtaMnUKyj,$_ic);
  																												
  																												$vPMSF5pieFsrixtq8t = ($_ic == 403);
  																												
  																												if($gk7xyukmlMb && preg_match($gk7xyukmlMb,$_ic)){
  																												
  																												$jqShMclc87KzIClgU = $vPMSF5pieFsrixtq8t = false;
  																												
  																												}
  																												
  																												$ICfKWr5QeaWZ6O = (($_ic == 301)||($_ic==302)) && ($Pj81O2W_d6lwy == $O3mTecPWsZVPj45u['last_url']);
  																												
  																												if( !$O3mTecPWsZVPj45u['flags']['error'] && 
  																												
  																												(($jqShMclc87KzIClgU || $vPMSF5pieFsrixtq8t || $ICfKWr5QeaWZ6O) || !$O3mTecPWsZVPj45u['code'] || $_to)
  																												
  																												)
  																												
  																												{
  																												
  																												$lv3sjQRQ1U1++;
  																												
  																												$_sl = $grab_parameters['xs_delay_ms']?$grab_parameters['xs_delay_ms']:1;
  																												
  																												if($O3mTecPWsZVPj45u['headers'] && ($_csl = $O3mTecPWsZVPj45u['headers']['retry-after']))
  																												
  																												$_sl = max($_sl, $_csl + ($lv3sjQRQ1U1+1)*$_sl);
  																												
  																												
  																												if(($_to) && $grab_parameters['xs_timeout_break']){
  																												
  																												z_fhGrViQaOeql9("<p> # TIMEOUT - $_to #</p>\n");
  																												
  																												if($lv3sjQRQ1U1==3){
  																												
  																												
  																												if(strstr($_to,'read') ){
  																												
  																												z_fhGrViQaOeql9("<p> read200 break?</p>\n");
  																												
  																												break ;
  																												
  																												}
  																												
  																												if($gOJkENRoH++>5) {
  																												
  																												$hFdFC9FutftfbQcPCF = "Too many timeouts detected";
  																												
  																												break 2;
  																												
  																												}
  																												
  																												z_fhGrViQaOeql9("<p> # MULTI TIMEOUT - BREAK #</p>\n");
  																												
  																												$_sl = 60;	    			
  																												
  																												$lv3sjQRQ1U1 = 0;
  																												
  																												}
  																												
  																												}
  																												
  																												z_fhGrViQaOeql9("<p> # RETRY - ".$O3mTecPWsZVPj45u['code']." - ".(intval($O3mTecPWsZVPj45u['code']))." - ".$O3mTecPWsZVPj45u['flags']['error']."# zZz $_sl</p>\n");
  																												
  																												sleep($_sl);
  																												
  																												}
  																												
  																												else 
  																												
  																												break;
  																												
  																												}while($lv3sjQRQ1U1<3);
  																												
  																												$this->fetch_no++;
  																												
  																												YHHPuGcJpxLDUfERty('extract', true);
  																												
  																												YHHPuGcJpxLDUfERty('analyze');
  																												
  																												$this->hOuc4HLzwywe = microtime(true)-$nBkwKlofG1;
  																												
  																												$this->nettime += $this->hOuc4HLzwywe;
  																												
  																												
  																												z_fhGrViQaOeql9("<hr>\n[[[ ".$O3mTecPWsZVPj45u['code']." ]]] - ".number_format($this->hOuc4HLzwywe,2)."s (".number_format($K5kCC5JoHjozL->wR70CK76khtA4O6VZ4I,2).' + '.number_format($K5kCC5JoHjozL->HQZ0___sxrUQHbO4gb,2).")\n".var_export($O3mTecPWsZVPj45u['headers'],1));
  																												
  																												$QzwMd7YvjRlwM = is_array($O3mTecPWsZVPj45u['headers']) ? strtolower($O3mTecPWsZVPj45u['headers']['content-type']) : '';
  																												
  																												$Sd_5PqYOkY = strstr($QzwMd7YvjRlwM,'text/html') || strstr($QzwMd7YvjRlwM,'/xhtml') || !$QzwMd7YvjRlwM;
  																												
  																												
  																												if((strstr($QzwMd7YvjRlwM,'application/') && strstr($QzwMd7YvjRlwM,'pdf'))
  																												
  																												||strstr($QzwMd7YvjRlwM,'/xml')
  																												
  																												||strstr($QzwMd7YvjRlwM,'text/plain')
  																												
  																												) 
  																												
  																												{
  																												
  																												$O3mTecPWsZVPj45u['content'] = '';
  																												
  																												$Sd_5PqYOkY = true;
  																												
  																												}
  																												
  																												$mB38DEhdYf = ($grab_parameters['xs_parse_swf'] && strstr($QzwMd7YvjRlwM, 'shockwave-flash'));
  																												
  																												$K8zTIUVnwPDUDC  = ($grab_parameters['xs_parse_js'] && strstr($QzwMd7YvjRlwM, 'javascript'));
  																												
  																												if($QzwMd7YvjRlwM && !$Sd_5PqYOkY && !$mB38DEhdYf && !$K8zTIUVnwPDUDC){
  																												
  																												if(!$E45nP_d0Gh){
  																												
  																												$LyZYub5sAF58GG = $QzwMd7YvjRlwM;
  																												
  																												continue;
  																												
  																												}
  																												
  																												}
  																												
  																												$cKCGec1Tw = array();
  																												
  																												
  																												if($O3mTecPWsZVPj45u['code']==404
  																												
  																												|| ($grab_parameters['xs_force_404']
  																												
  																												&& preg_match('#'.implode('|',preg_split('#\s+#',$grab_parameters['xs_force_404'])).'#', $this->F4IXRYNqGySShUMjj)
  																												
  																												)
  																												
  																												){
  																												
  																												if($this->links_level>0)
  																												
  																												if(!$grab_parameters['xs_chlog_list_max'] ||
  																												
  																												count($urls_404) < $grab_parameters['xs_chlog_list_max']) {
  																												
  																												$V8LkdUr76kWKRNwEM8b = $ref_links2[$this->F4IXRYNqGySShUMjj];
  																												
  																												if($V8LkdUr76kWKRNwEM8b && isset($this->xNVJOXeK2sW[$V8LkdUr76kWKRNwEM8b[0]])
  																												
  																												&& isset($ref_links_list[$V8LkdUr76kWKRNwEM8b[0]])
  																												
  																												){
  																												
  																												$V8LkdUr76kWKRNwEM8b = array_merge($V8LkdUr76kWKRNwEM8b,$ref_links_list[$V8LkdUr76kWKRNwEM8b[0]]);
  																												
  																												}
  																												
  																												$urls_404[]=array($this->F4IXRYNqGySShUMjj,$V8LkdUr76kWKRNwEM8b);
  																												
  																												}
  																												
  																												}
  																												
  																												
  																												$cn = $O3mTecPWsZVPj45u['content'];
  z_fhGrViQaOeql9("\n\n<hr>\n\n$cn\n\n<hr>\n\n",4);
  																												
  																												$this->tsize+=strlen($cn);
  																												
  																												if($aJAUx_d6Kz = preg_replace('#<!--(\[if IE\]>|.*?-->)#is', '',$cn))
  																												
  																												$cn = $aJAUx_d6Kz;
  																												
  																												preg_match('#<base[^>]*?href=[\'"](.*?)[\'"]#is',$cn,$bm);
  																												
  																												if(isset($bm[1])&&$bm[1]){
  																												
  																												if($bcUHiUvk1__NNu9qID['scheme'] && substr($bm[1], 0, 2) == '//')
  																												
  																												$bm[1] = $bcUHiUvk1__NNu9qID['scheme'].':'.$bm[1];
  																												
  																												$this->KrTMgWoxdnmEih0271 = A4sNJQoe6O47I_YC4($bm[1].(preg_match('#//.*/#',$bm[1])?'-':'/-'));
  																												
  																												}
  																												
  																												else
  																												
  																												$this->KrTMgWoxdnmEih0271 = A4sNJQoe6O47I_YC4(strstr($this->F4IXRYNqGySShUMjj,'://') ? $this->F4IXRYNqGySShUMjj : $this->Niq61B3f5T . $this->F4IXRYNqGySShUMjj);
  																												
  																												if($grab_parameters['xs_canonical'])
  																												
  																												if(($Pj81O2W_d6lwy == $O3mTecPWsZVPj45u['last_url'])
  																												
  																												&& 
  																												
  																												(
  																												
  																												preg_match('#<link[^>]*rel=[\'"]canonical[\'"][^>]*\shref=[\'"]([^>]*?)[\'"]#is', $cn, $MiqXpOB9QIO9l) ||
  																												
  																												preg_match('#<link[^>]*\shref=[\'"]([^>]*?)[\'"][^>]*rel=[\'"]canonical[\'"]#is', $cn, $MiqXpOB9QIO9l))
  																												
  																												){
  																												
  																												$O3mTecPWsZVPj45u['last_url'] = trim($MiqXpOB9QIO9l[1]);
  																												
  																												}
  																												
  																												if($O3mTecPWsZVPj45u['last_url']){
  																												
  																												$cCqeu6KEd4LFk = $this->XQa0UewN3f($O3mTecPWsZVPj45u['last_url'], $this->F4IXRYNqGySShUMjj);
  																												
  																												if($cCqeu6KEd4LFk == 1){
  																												
  																												$LyZYub5sAF58GG = 'lu (ext) - '.$O3mTecPWsZVPj45u['last_url'];
  																												
  																												if($O3mTecPWsZVPj45u['last_url'] != $Pj81O2W_d6lwy) {
  																												
  																												
  																												continue;
  																												
  																												}
  																												
  																												}
  																												
  																												}
  																												
  																												$lOLd5T3bchft8O9 = preg_replace('#^.*?'.preg_quote($this->Niq61B3f5T,'#').'#','',$O3mTecPWsZVPj45u['last_url']);
  																												
  																												if(($Pj81O2W_d6lwy != $O3mTecPWsZVPj45u['last_url']))// && ($Pj81O2W_d6lwy != $O3mTecPWsZVPj45u['last_url'].'/')) 
  																												
  																												{
  																												
  																												$this->xNVJOXeK2sW[$this->F4IXRYNqGySShUMjj]=$O3mTecPWsZVPj45u['last_url']; $io=$this->F4IXRYNqGySShUMjj;
  																												
  																												if(strlen($lOLd5T3bchft8O9) <= 2048)
  																												
  																												if(!isset($urls_list_full[$lOLd5T3bchft8O9])) {
  																												
  																												$urls_list2[$lOLd5T3bchft8O9]++;
  																												
  																												if(count($ref_links[$lOLd5T3bchft8O9])<max(1,intval($grab_parameters['xs_maxref'])))
  																												
  																												$ref_links[$lOLd5T3bchft8O9][] = $this->F4IXRYNqGySShUMjj;
  																												
  																												if(
  																												
  																												$grab_parameters['xs_ref_list_store'] && 
  																												
  																												($_rlmax = $grab_parameters['xs_ref_list_max'])
  																												
  																												){
  																												
  																												if(
  																												
  																												(isset($ref_links_list[$lOLd5T3bchft8O9])
  																												
  																												|| count($ref_links_list)<$_rlmax)
  																												
  																												&&    					
  																												
  																												(count($ref_links_list[$lOLd5T3bchft8O9])<max(1,intval($grab_parameters['xs_maxref'])))
  																												
  																												)
  																												
  																												{
  																												
  																												if(!$ref_links_list[$lOLd5T3bchft8O9])
  																												
  																												$ref_links_list[$lOLd5T3bchft8O9] = array();
  																												
  																												if(!in_array($this->F4IXRYNqGySShUMjj, $ref_links_list[$lOLd5T3bchft8O9]))
  																												
  																												$ref_links_list[$lOLd5T3bchft8O9][] = $this->F4IXRYNqGySShUMjj;
  																												
  																												}
  																												
  																												}
  																												
  																												}
  																												
  																												$LyZYub5sAF58GG = 'lu - '.$O3mTecPWsZVPj45u['last_url'];
  																												
  																												if(!$E45nP_d0Gh)continue;
  																												
  																												}
  																												
  																												if($gk7xyukmlMb && !preg_match($gk7xyukmlMb,$O3mTecPWsZVPj45u['code'])){
  																												
  																												$LyZYub5sAF58GG = $O3mTecPWsZVPj45u['code'];
  																												
  																												continue;
  																												
  																												}
  																												
  																												$retrno++;
  																												
  																												if($E45nP_d0Gh||$i64_RzaxP7PMd7s) {
  																												
  																												
  																												$Sd_5PqYOkY = false;
  																												
  																												}
  																												
  																												YHHPuGcJpxLDUfERty('analyze',true);
  																												
  																												if($mB38DEhdYf)
  																												
  																												{
  																												
  																												include_once Il2qN32A6EeND.'class.pfile.inc.php';
  																												
  																												$am = new SWFParser();
  																												
  																												$am->sEHr9E0d1xL1nk($cn);
  																												
  																												$SXMDOThfSvBx_D = $am->sMuf2pf0iKaQ();
  																												
  																												}else
  																												
  																												if($Sd_5PqYOkY || $K8zTIUVnwPDUDC)
  																												
  																												{
  																												
  																												YHHPuGcJpxLDUfERty('parse');
  																												
  																												if($K8zTIUVnwPDUDC) {
  																												
  																												$LyZYub5sAF58GG = 'js';
  																												
  																												$f = true; // Do not index
  																												
  																												preg_match_all('#(?:add|menu)item\s*\([^\)]*?["\']((?:\.+\/|http).*?)["\)\']#is', $cn, $nexwy0P_rGvjchKEd);
  																												
  																												$cKCGec1Tw = $nexwy0P_rGvjchKEd[1];
  																												
  																												}else {
  																												
  																												$cKCGec1Tw = $this->J288sfitpupJnEcw3($cn);
  																												
  																												}
  																												
  																												}
  																												
  																												$cKCGec1Tw = array_unique($cKCGec1Tw);
  																												
  																												
  																												$nn = $nt = 0;
  																												
  																												reset($cKCGec1Tw);
  																												
  																												if(isset($grab_parameters['xs_robotstxt']) && $grab_parameters['xs_robotstxt'])
  																												
  																												if(preg_match('#<meta\s*name=[\'"]robots[\'"]\s*content=[\'"][^\'"]*?nofollow#is',$cn))
  																												
  																												$cKCGec1Tw = array();
  																												
  																												if(!$runstate['charset']){
  																												
  																												if(preg_match('#<meta\s+http-equiv\s*=\s*"?content-type"?[^>]*?charset=([^">]*)"#is',$cn, $tqAifGeogXJRviudvJ1))
  																												
  																												$runstate['charset'] = $tqAifGeogXJRviudvJ1[1];
  																												
  																												}
  																												
  																												YHHPuGcJpxLDUfERty('parse', true);
  																												
  																												YHHPuGcJpxLDUfERty('llist');
  																												
  																												foreach($cKCGec1Tw as $i=>$ll)
  																												
  																												if($ll)
  																												
  																												{                    
  																												
  																												$a = $sa = trim($ll);
  																												
  																												$a = str_replace('&#58;',':',$a);
  																												
  																												if($grab_parameters['xs_proto_skip'] && 
  																												
  																												(preg_match('#^'.$grab_parameters['xs_proto_skip'].'#i',$a)||
  																												
  																												($this->HDxSUg0eWtUQjt && preg_match('#'.$grab_parameters['xs_exc_skip'].'#i',$a))||
  																												
  																												preg_match('#^'.$grab_parameters['xs_proto_skip'].'#i',function_exists('html_entity_decode')?html_entity_decode($a):$a)
  																												
  																												))
  																												
  																												continue;
  																												
  																												
  																												if(strlen($a) > 4096) continue;
  																												
  																												$cCqeu6KEd4LFk = $this->XQa0UewN3f($a, $this->F4IXRYNqGySShUMjj);
  																												
  																												if($cCqeu6KEd4LFk == 1)
  																												
  																												{
  																												
  																												if($grab_parameters['xs_extlinks'] &&
  																												
  																												(!$grab_parameters['xs_extlinks_excl'] || !preg_match('#'.$this->dYfVkEYUS1map3XFd8($grab_parameters['xs_extlinks_excl']).'#',$a)) &&
  																												
  																												(!$grab_parameters['xs_ext_max'] || (count($urls_ext)<$grab_parameters['xs_ext_max']))
  																												
  																												)
  																												
  																												{
  																												
  																												if(!$urls_ext[$a] && 
  																												
  																												(!$grab_parameters['xs_ext_skip'] || 
  																												
  																												!preg_match('#'.$grab_parameters['xs_ext_skip'].'#',$a)
  																												
  																												)
  																												
  																												)
  																												
  																												$urls_ext[$a] = $Pj81O2W_d6lwy;
  																												
  																												}
  																												
  																												continue;
  																												
  																												}
  																												
  																												$lOLd5T3bchft8O9 = $cCqeu6KEd4LFk ? $a : substr($a,strlen($this->Niq61B3f5T));
  																												
  																												$lOLd5T3bchft8O9 = str_replace(' ', '%20', $lOLd5T3bchft8O9);
  																												
  																												if($urls_list_full[$lOLd5T3bchft8O9] || ($lOLd5T3bchft8O9 == $this->F4IXRYNqGySShUMjj))
  																												
  																												continue;
  																												
  																												if($grab_parameters['xs_exclude_check'])
  																												
  																												{
  																												
  																												$_f=$_f2=false;
  																												
  																												$_f=$this->GjJcq8T1P9&&preg_match('#('.$this->GjJcq8T1P9.')#',$lOLd5T3bchft8O9);
  																												
  																												$_f = $_f || $this->VFZlf5sNkzX7GF7k($this->T_IVB6tYAThxWS.$lOLd5T3bchft8O9);
  																												
  																												if($_f)continue;
  																												
  																												}
  																												
  																												z_fhGrViQaOeql9("<u>[$lOLd5T3bchft8O9]</u><br>\n",2);//exit;
  																												
  																												$urls_list2[$lOLd5T3bchft8O9]++;
  																												
  																												if(
  																												
  																												$grab_parameters['xs_ref_list_store'] &&
  																												
  																												($_rlmax = $grab_parameters['xs_ref_list_max'])
  																												
  																												){
  																												
  																												if(
  																												
  																												(isset($ref_links_list[$lOLd5T3bchft8O9])
  																												
  																												|| count($ref_links_list)<$_rlmax)
  																												
  																												&&    					
  																												
  																												(count($ref_links_list[$lOLd5T3bchft8O9])<max(1,intval($grab_parameters['xs_maxref'])))
  																												
  																												)
  																												
  																												{
  																												
  																												if(!$ref_links_list[$lOLd5T3bchft8O9])
  																												
  																												$ref_links_list[$lOLd5T3bchft8O9] = array();
  																												
  																												if(!in_array($this->F4IXRYNqGySShUMjj, $ref_links_list[$lOLd5T3bchft8O9]))
  																												
  																												$ref_links_list[$lOLd5T3bchft8O9][] = $this->F4IXRYNqGySShUMjj;
  																												
  																												}
  																												
  																												}
  																												
  																												if($grab_parameters['xs_maxref'] && count($ref_links[$lOLd5T3bchft8O9])<$grab_parameters['xs_maxref'])
  																												
  																												$ref_links[$lOLd5T3bchft8O9][] = $this->F4IXRYNqGySShUMjj;
  																												
  																												$nt++;
  																												
  																												}
  																												
  																												unset($cKCGec1Tw);
  																												
  																												YHHPuGcJpxLDUfERty('llist', true);
  																												
  																												}
  																												
  																												}
  																												
  																												
  																												$this->ApWk9cNV4bVZkvPX = count($urls_list2);
  																												
  																												YHHPuGcJpxLDUfERty('analyze', true);
  																												
  																												YHHPuGcJpxLDUfERty('post');
  																												
  																												if(!$f){
  																												
  																												
  																												$f = $f || !$this->hVgV5J75NEESyCQgUY('xs_incl_only', $this->Niq61B3f5T.$this->F4IXRYNqGySShUMjj, true);
  																												
  																												}
  																												
  																												if($_fex['f3']) {
  																												
  																												$f = true;
  																												
  																												}
  																												
  																												if(!$f)
  																												
  																												if(isset($grab_parameters['xs_robotstxt']) && $grab_parameters['xs_robotstxt'])
  																												
  																												{
  																												
  																												$f = $f||preg_match('#<meta\s*name=[\'"]robots[\'"]\s*content=[\'"][^\'"]*?noindex#is',$cn,$_cm);
  																												
  																												if($f)$LyZYub5sAF58GG = 'mrob';
  																												
  																												}
  																												
  																												if(!$f && !$LyZYub5sAF58GG)
  																												
  																												{
  																												
  																												
  																												if(!$mXVOQkdQzwnNzlTzU) {
  																												
  																												$mXVOQkdQzwnNzlTzU = array(
  																												
  																												
  																												'link' => preg_replace('#//+$#','/', 
  																												
  																												preg_replace('#^([^/\:\?]/)/+#','\\1', 
  																												
  																												(preg_match('#^\w+://#',$this->F4IXRYNqGySShUMjj) ? $this->F4IXRYNqGySShUMjj : $this->Niq61B3f5T . $this->F4IXRYNqGySShUMjj)
  																												
  																												))
  																												
  																												);
  																												
  																												if($grab_parameters['xs_makehtml']||$grab_parameters['xs_makeror']||$grab_parameters['xs_rssinfo'])
  																												
  																												{
  																												
  																												preg_match('#<title>([^<]*?)</title>#is', $O3mTecPWsZVPj45u['content'], $D3AGbIACouD10);
  																												
  																												$mXVOQkdQzwnNzlTzU['t'] = strip_tags($D3AGbIACouD10[1]);
  																												
  																												}
  																												
  																												if($grab_parameters['xs_metadesc'])
  																												
  																												{
  																												
  																												preg_match('#<meta\s[^>]*(?:http-equiv|name)\s*=\s*"?description[^>]*content\s*=\s*["]?([^>\"]*)#is', $cn, $ubgR29rFB);
  																												
  																												if($ubgR29rFB[1])
  																												
  																												$mXVOQkdQzwnNzlTzU['d'] = $ubgR29rFB[1];
  																												
  																												}
  																												
  																												if($grab_parameters['xs_makeror']||$grab_parameters['xs_autopriority'])
  																												
  																												$mXVOQkdQzwnNzlTzU['o'] = max(0,$this->links_level);
  																												
  																												if($b5bOuoZcPCglzF)
  																												
  																												$mXVOQkdQzwnNzlTzU['p'] = $b5bOuoZcPCglzF;
  																												
  																												if(preg_match('#<meta\s[^>]*(?:http-equiv|name)\s*=\s*"?last-modified[^>]*content\s*=\s*["]?([^>\"]*)#is', $cn, $ubgR29rFB)){
  																												
  																												$mXVOQkdQzwnNzlTzU['clm'] = str_replace('@',' ',$ubgR29rFB[1]);
  																												
  																												}
  																												
  																												if(preg_match('#<meta\s[^>]*(?:http-equiv|name)\s*=\s*"?changefreq[^>]*content\s*=\s*["]?([^>\"]*)#is', $cn, $ubgR29rFB)){
  																												
  																												$mXVOQkdQzwnNzlTzU['f'] = $ubgR29rFB[1];
  																												
  																												}else
  																												
  																												if(preg_match('#<meta\s[^>]*(?:http-equiv|name)\s*=\s*"?revisit-after[^>]*content\s*=\s*["]?([^>\"]*)#is', $cn, $ubgR29rFB)){
  																												
  																												if(preg_match('#(\d+)\s*hour#',$ubgR29rFB[1])){
  																												
  																												$mXVOQkdQzwnNzlTzU['f'] = 'hourly';
  																												
  																												}
  																												
  																												if(preg_match('#(\d+)\s*month#',$ubgR29rFB[1])){
  																												
  																												$mXVOQkdQzwnNzlTzU['f'] = 'monthly';
  																												
  																												}
  																												
  																												if(preg_match('#(\d+)\s*day#',$ubgR29rFB[1], $ubgR29rFB)){
  																												
  																												$d = $ubgR29rFB[1]+0;
  																												
  																												if($d<4)$mXVOQkdQzwnNzlTzU['f'] = 'daily';
  																												
  																												else
  																												
  																												if($d<22)$mXVOQkdQzwnNzlTzU['f'] = 'weekly';
  																												
  																												else
  																												
  																												$mXVOQkdQzwnNzlTzU['f'] = 'monthly';
  																												
  																												}
  																												
  																												}
  																												
  																												if(preg_match('#'.$ZR1vtYkW3IIT6ji.'#',$this->Niq61B3f5T.$this->F4IXRYNqGySShUMjj,$fjOiR1rimG))
  																												
  																												{
  																												
  																												for($_i=0;$_i<count($fjOiR1rimG);$_i++)
  																												
  																												{
  																												
  																												if($fjOiR1rimG[$_i+1])
  																												
  																												break;
  																												
  																												}
  																												
  																												if($Hqm42kdaBr[$_i]) {
  																												
  																												if(!$mXVOQkdQzwnNzlTzU['clm'])
  																												
  																												$mXVOQkdQzwnNzlTzU['clm'] = $Hqm42kdaBr[$_i]['lm'];
  																												
  																												if(!$mXVOQkdQzwnNzlTzU['f'])
  																												
  																												$mXVOQkdQzwnNzlTzU['f'] = $Hqm42kdaBr[$_i]['f'];
  																												
  																												$mXVOQkdQzwnNzlTzU['p'] = $Hqm42kdaBr[$_i]['p'];
  																												
  																												}
  																												
  																												}
  																												
  																												
  																												
  																												
  																												
  																												if($grab_parameters['xs_hreflang']){
  																												
  																												if(
  																												
  																												preg_match_all('#<link[^>]*rel\s*=\s*"alternate"[^>]*>#is', $cn, $o5dbZtmDCSktjDlJt3, PREG_SET_ORDER)
  																												
  																												){
  																												
  																												$_la = array();
  																												
  																												foreach($o5dbZtmDCSktjDlJt3 as $_alt1){
  																												
  																												if(preg_match('#\s(hreflang|media)\s*=\s*"([^">]*?)"[^>]*>#is', $_alt1[0], $_alt)
  																												
  																												&& preg_match('#\s*href\s*=\s*[\'"]([^>]*?)[\'"]#is', $_alt1[0], $_hm)
  																												
  																												)
  																												
  																												$_la[] = array('t' => $_alt[1], 'l' => $_alt[2], 'u' => $_hm[1]);
  																												
  																												}
  																												
  																												$mXVOQkdQzwnNzlTzU['hl'] = $_la;
  																												
  																												}
  																												
  																												}
  																												
  																												if($grab_parameters['xs_lastmod_notparsed'] && $f2)
  																												
  																												{
  																												
  																												$O3mTecPWsZVPj45u = $K5kCC5JoHjozL->fetch($Pj81O2W_d6lwy, 0, 1, false, "", array('req'=>'HEAD'));
  																												
  																												}
  																												
  																												if(!$mXVOQkdQzwnNzlTzU['lm'] && isset($O3mTecPWsZVPj45u['headers']['last-modified']))
  																												
  																												$mXVOQkdQzwnNzlTzU['lm'] = $O3mTecPWsZVPj45u['headers']['last-modified'];
  																												
  																												}
  																												
  																												YHHPuGcJpxLDUfERty('post', true);
  																												
  																												YHHPuGcJpxLDUfERty('post-save1');
  																												
  																												z_fhGrViQaOeql9("\n((include ".$mXVOQkdQzwnNzlTzU['link']."))<br />\n");
  																												
  																												$XSgHgDDEhTbwopK_PT = true;
  																												
  																												if($grab_parameters['xs_memsave'])
  																												
  																												{
  																												
  																												oL4Wd5vimhWp8DF0q($KDdCtJPGUBu9Wq, $mXVOQkdQzwnNzlTzU);
  																												
  																												$urls_completed[] = $KDdCtJPGUBu9Wq;
  																												
  																												}else
  																												
  																												$urls_completed[] = serialize($mXVOQkdQzwnNzlTzU);
  																												
  																												$this->VP8vAJd3fs3x1Ygo++;
  																												
  																												
  																												YHHPuGcJpxLDUfERty('post-save1',true);
  																												
  																												YHHPuGcJpxLDUfERty('post-save2');
  																												
  																												if($grab_parameters['xs_prev_sm_base']
  																												
  																												&& $b7bWC1DiTPmt8mWhN &&
  																												
  																												preg_match('#('.$b7bWC1DiTPmt8mWhN.')#',$this->F4IXRYNqGySShUMjj)){
  																												
  																												$sm_base[$this->F4IXRYNqGySShUMjj] = $mXVOQkdQzwnNzlTzU;
  																												
  																												}
  																												
  																												$Ho3EyQEy5sso9sRWd = $this->qWPODI2gyt3Aa - $this->VP8vAJd3fs3x1Ygo;
  																												
  																												YHHPuGcJpxLDUfERty('post-save2',true);
  																												
  																												
  																												}
  																												
  																												}while(false);// zerowhile
  																												
  																												YHHPuGcJpxLDUfERty('post-progress1');
  																												
  																												if($url_ind>=$cnu)
  																												
  																												{
  																												
  																												unset($urls_list);
  																												
  																												$url_ind = 0;
  																												
  																												$urls_list = $urls_list2;
  																												
  																												
  																												$urls_list_full += $urls_list;
  																												
  																												$cnu = count($urls_list);
  																												
  																												unset($ref_links2);
  																												
  																												$ref_links2 = $ref_links;
  																												
  																												unset($ref_links); unset($urls_list2);
  																												
  																												$ref_links = array();
  																												
  																												$urls_list2 = array();
  																												
  																												$this->links_level++;
  																												
  																												z_fhGrViQaOeql9("\n<br>NEXT LEVEL:$this->links_level<br />\n");
  																												
  																												}
  																												
  																												if(!$XSgHgDDEhTbwopK_PT){
  																												
  																												
  																												z_fhGrViQaOeql9("\n({skipped ".$this->F4IXRYNqGySShUMjj." - $LyZYub5sAF58GG})<br />\n");
  																												
  																												if(!$grab_parameters['xs_chlog_list_max'] ||
  																												
  																												count($urls_list_skipped) < $grab_parameters['xs_chlog_list_max']) {
  																												
  																												$urls_list_skipped[$this->F4IXRYNqGySShUMjj] = $LyZYub5sAF58GG;
  																												
  																												}
  																												
  																												}
  																												
  																												YHHPuGcJpxLDUfERty('post-progress1',true);
  																												
  																												YHHPuGcJpxLDUfERty('post-progress2');
  																												
  																												$this->pn++;
  																												
  																												s_kA5FLQ9p4i();
  																												
  																												$this->pl=min($cnu-$url_ind,$Ho3EyQEy5sso9sRWd);
  																												
  																												$uIZDnQOguALfQ = ($this->VP8vAJd3fs3x1Ygo>=$this->qWPODI2gyt3Aa) || ($url_ind>=$cnu);
  																												
  																												if(!$hFdFC9FutftfbQcPCF) {
  																												
  																												
  																												if($hFdFC9FutftfbQcPCF = N_Fm0hhD3owWta()){
  																												
  																												if(!@jgYSLBDPtmpAo($hFdFC9FutftfbQcPCF))
  																												
  																												$hFdFC9FutftfbQcPCF=0;
  																												
  																												}
  																												
  																												}
  																												
  																												YHHPuGcJpxLDUfERty('post-progress2',true);
  																												
  																												YHHPuGcJpxLDUfERty('post-progress3');
  																												
  																												$progpar = $this->ffpknLH3lruh(false, $uIZDnQOguALfQ||$hFdFC9FutftfbQcPCF);
  																												
  																												YHHPuGcJpxLDUfERty('post-progress3',true);
  																												
  																												YHHPuGcJpxLDUfERty('post-progress4');
  																												
  																												if($grab_parameters['xs_exec_time'] && 
  																												
  																												((time()-$u3Aj3kpP8f7NX) > $grab_parameters['xs_exec_time']) ){
  																												
  																												$hFdFC9FutftfbQcPCF = 'Time limit exceeded - '.($grab_parameters['xs_exec_time']).' - '.(time()-$u3Aj3kpP8f7NX);
  																												
  																												}
  																												
  																												if($grab_parameters['xs_savestate_time']>0 &&
  																												
  																												( 
  																												
  																												($this->ctime-$paeh3sXfU>$grab_parameters['xs_savestate_time'])
  																												
  																												|| $uIZDnQOguALfQ
  																												
  																												|| $hFdFC9FutftfbQcPCF
  																												
  																												)
  																												
  																												)
  																												
  																												{
  																												
  																												$paeh3sXfU = $this->ctime;
  																												
  																												z_fhGrViQaOeql9("(saving dump)<br />\n");
  																												
  																												$AngxaIfOJ = array();
  																												
  																												$ugr2aG5lxR = array(
  																												
  																												'url_ind',
  																												
  																												'urls_list','urls_list2','cnu',
  																												
  																												'ref_links','ref_links2','ref_links_list',
  																												
  																												'urls_list_full','urls_completed',
  																												
  																												'urls_404',
  																												
  																												'nt','tsize','pn','links_level','ctime', 'urls_ext','fetch_no',
  																												
  																												'starttime', 'retrno', 'nettime', 'urls_list_skipped',
  																												
  																												'imlist','imlist2', 'progpar', 'runstate', 'sm_base'
  																												
  																												);
  																												
  																												foreach($ugr2aG5lxR as $k){
  																												
  																												$AngxaIfOJ[$k] = isset($this->$k) ? $this->$k : $$k;
  																												
  																												}
  																												
  																												$AngxaIfOJ['time']=time();
  																												
  																												$k88k5WVVH7HOa=G8ByTBG0gz4G9($AngxaIfOJ);
  																												
  																												QNBZB8U2gUbUbMO(smWzxPC1LKDbUte,$k88k5WVVH7HOa,ebJGVa__YE,true);
  																												
  																												unset($AngxaIfOJ);
  																												
  																												unset($k88k5WVVH7HOa);
  																												
  																												}
  																												
  																												if($grab_parameters['xs_delay_req'] && $grab_parameters['xs_delay_ms'] &&
  																												
  																												(($D8EOhUUDgGFotoZ8%$grab_parameters['xs_delay_req'])==0))
  																												
  																												{
  																												
  																												sleep(intval($grab_parameters['xs_delay_ms']));
  																												
  																												}
  																												
  																												YHHPuGcJpxLDUfERty('post-progress4', true);
  																												
  																												}while(!$uIZDnQOguALfQ && !$hFdFC9FutftfbQcPCF);
  																												
  																												z_fhGrViQaOeql9("\n\n<br><br>Crawling completed<br>\n");
  																												
  																												if($_GET['ddbgexit']){
  																												
  																												echo '<hr><hr><h2>Dbg exit</h2>';
  																												
  																												echo $K5kCC5JoHjozL->ZwgAtu5BO_NYpaRWr.' / '.$K5kCC5JoHjozL->nettime.'<hr>';
  																												
  																												echo fiJIJjF_yojaqa().'<hr>';
  																												
  																												exit;
  																												
  																												}
  																												
  																												return array(
  																												
  																												'u404'=>$urls_404,
  																												
  																												'ref_links_list'=>$ref_links_list,
  																												
  																												'starttime'=>$starttime,
  																												
  																												'topmu' => $bsdObbWFYcM20JyA,
  																												
  																												'ctime'=>$this->ctime,
  																												
  																												'tsize'=>$this->tsize,
  																												
  																												'retrno' => $retrno,
  																												
  																												'nettime' => $this->nettime,
  																												
  																												'errmsg'=>'',
  																												
  																												'initurl'=>$this->iK6zN3FNMZ,
  																												
  																												'initdir'=>$this->Niq61B3f5T,
  																												
  																												'ucount'=>$this->VP8vAJd3fs3x1Ygo,
  																												
  																												'crcount'=>$this->pn,
  																												
  																												'fetch_no'=>$this->fetch_no,
  																												
  																												'time'=>time(),
  																												
  																												'params'=>$this->lT0Vs3VxjBxAH3,
  																												
  																												'interrupt'=>$hFdFC9FutftfbQcPCF,
  																												
  																												'runstate' => $runstate,
  																												
  																												'sm_base' => $sm_base,
  																												
  																												'urls_ext'=>$urls_ext,
  																												
  																												'urls_list_skipped' => $urls_list_skipped,
  																												
  																												'max_reached' => $this->VP8vAJd3fs3x1Ygo>=$this->qWPODI2gyt3Aa
  																												
  																												);
  																												
  																												}
  																												
  																												}
  																												
  																												$X5pGy9XVxZmKajMLt = new SiteCrawler();
  																												
  																												function MjfS99JQfMEzIgi(){
  																												
  																												@jgYSLBDPtmpAo(ebJGVa__YE.AheSQAhNo9A7oMn);
  																												
  																												if(@file_exists(ebJGVa__YE.Uv9x2nKq2xFMz))
  																												
  																												@rename(ebJGVa__YE.Uv9x2nKq2xFMz,ebJGVa__YE.AheSQAhNo9A7oMn);
  																												
  																												}