google_api.php 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738
  1. <?php
  2. // @TODO check for consent.google.com page, if need be
  3. class google_api{
  4. public function __construct(){
  5. include "lib/backend.php";
  6. $this->backend = new backend("google_api");
  7. }
  8. public function getfilters($page){
  9. $base = [
  10. "country" => [ // gl=<country> (image: cr=countryAF)
  11. "display" => "Country",
  12. "option" => [
  13. "any" => "Instance's country",
  14. "af" => "Afghanistan",
  15. "al" => "Albania",
  16. "dz" => "Algeria",
  17. "as" => "American Samoa",
  18. "ad" => "Andorra",
  19. "ao" => "Angola",
  20. "ai" => "Anguilla",
  21. "aq" => "Antarctica",
  22. "ag" => "Antigua and Barbuda",
  23. "ar" => "Argentina",
  24. "am" => "Armenia",
  25. "aw" => "Aruba",
  26. "au" => "Australia",
  27. "at" => "Austria",
  28. "az" => "Azerbaijan",
  29. "bs" => "Bahamas",
  30. "bh" => "Bahrain",
  31. "bd" => "Bangladesh",
  32. "bb" => "Barbados",
  33. "by" => "Belarus",
  34. "be" => "Belgium",
  35. "bz" => "Belize",
  36. "bj" => "Benin",
  37. "bm" => "Bermuda",
  38. "bt" => "Bhutan",
  39. "bo" => "Bolivia",
  40. "ba" => "Bosnia and Herzegovina",
  41. "bw" => "Botswana",
  42. "bv" => "Bouvet Island",
  43. "br" => "Brazil",
  44. "io" => "British Indian Ocean Territory",
  45. "bn" => "Brunei Darussalam",
  46. "bg" => "Bulgaria",
  47. "bf" => "Burkina Faso",
  48. "bi" => "Burundi",
  49. "kh" => "Cambodia",
  50. "cm" => "Cameroon",
  51. "ca" => "Canada",
  52. "cv" => "Cape Verde",
  53. "ky" => "Cayman Islands",
  54. "cf" => "Central African Republic",
  55. "td" => "Chad",
  56. "cl" => "Chile",
  57. "cn" => "China",
  58. "cx" => "Christmas Island",
  59. "cc" => "Cocos (Keeling) Islands",
  60. "co" => "Colombia",
  61. "km" => "Comoros",
  62. "cg" => "Congo",
  63. "cd" => "Congo, the Democratic Republic",
  64. "ck" => "Cook Islands",
  65. "cr" => "Costa Rica",
  66. "ci" => "Cote D'ivoire",
  67. "hr" => "Croatia",
  68. "cu" => "Cuba",
  69. "cy" => "Cyprus",
  70. "cz" => "Czech Republic",
  71. "dk" => "Denmark",
  72. "dj" => "Djibouti",
  73. "dm" => "Dominica",
  74. "do" => "Dominican Republic",
  75. "ec" => "Ecuador",
  76. "eg" => "Egypt",
  77. "sv" => "El Salvador",
  78. "gq" => "Equatorial Guinea",
  79. "er" => "Eritrea",
  80. "ee" => "Estonia",
  81. "et" => "Ethiopia",
  82. "fk" => "Falkland Islands (Malvinas)",
  83. "fo" => "Faroe Islands",
  84. "fj" => "Fiji",
  85. "fi" => "Finland",
  86. "fr" => "France",
  87. "gf" => "French Guiana",
  88. "pf" => "French Polynesia",
  89. "tf" => "French Southern Territories",
  90. "ga" => "Gabon",
  91. "gm" => "Gambia",
  92. "ge" => "Georgia",
  93. "de" => "Germany",
  94. "gh" => "Ghana",
  95. "gi" => "Gibraltar",
  96. "gr" => "Greece",
  97. "gl" => "Greenland",
  98. "gd" => "Grenada",
  99. "gp" => "Guadeloupe",
  100. "gu" => "Guam",
  101. "gt" => "Guatemala",
  102. "gn" => "Guinea",
  103. "gw" => "Guinea-Bissau",
  104. "gy" => "Guyana",
  105. "ht" => "Haiti",
  106. "hm" => "Heard Island and Mcdonald Islands",
  107. "va" => "Holy See (Vatican City State)",
  108. "hn" => "Honduras",
  109. "hk" => "Hong Kong",
  110. "hu" => "Hungary",
  111. "is" => "Iceland",
  112. "in" => "India",
  113. "id" => "Indonesia",
  114. "ir" => "Iran, Islamic Republic",
  115. "iq" => "Iraq",
  116. "ie" => "Ireland",
  117. "il" => "Israel",
  118. "it" => "Italy",
  119. "jm" => "Jamaica",
  120. "jp" => "Japan",
  121. "jo" => "Jordan",
  122. "kz" => "Kazakhstan",
  123. "ke" => "Kenya",
  124. "ki" => "Kiribati",
  125. "kp" => "Korea, Democratic People's Republic",
  126. "kr" => "Korea, Republic",
  127. "kw" => "Kuwait",
  128. "kg" => "Kyrgyzstan",
  129. "la" => "Lao People's Democratic Republic",
  130. "lv" => "Latvia",
  131. "lb" => "Lebanon",
  132. "ls" => "Lesotho",
  133. "lr" => "Liberia",
  134. "ly" => "Libyan Arab Jamahiriya",
  135. "li" => "Liechtenstein",
  136. "lt" => "Lithuania",
  137. "lu" => "Luxembourg",
  138. "mo" => "Macao",
  139. "mk" => "Macedonia, the Former Yugosalv Republic",
  140. "mg" => "Madagascar",
  141. "mw" => "Malawi",
  142. "my" => "Malaysia",
  143. "mv" => "Maldives",
  144. "ml" => "Mali",
  145. "mt" => "Malta",
  146. "mh" => "Marshall Islands",
  147. "mq" => "Martinique",
  148. "mr" => "Mauritania",
  149. "mu" => "Mauritius",
  150. "yt" => "Mayotte",
  151. "mx" => "Mexico",
  152. "fm" => "Micronesia, Federated States",
  153. "md" => "Moldova, Republic",
  154. "mc" => "Monaco",
  155. "mn" => "Mongolia",
  156. "ms" => "Montserrat",
  157. "ma" => "Morocco",
  158. "mz" => "Mozambique",
  159. "mm" => "Myanmar",
  160. "na" => "Namibia",
  161. "nr" => "Nauru",
  162. "np" => "Nepal",
  163. "nl" => "Netherlands",
  164. "an" => "Netherlands Antilles",
  165. "nc" => "New Caledonia",
  166. "nz" => "New Zealand",
  167. "ni" => "Nicaragua",
  168. "ne" => "Niger",
  169. "ng" => "Nigeria",
  170. "nu" => "Niue",
  171. "nf" => "Norfolk Island",
  172. "mp" => "Northern Mariana Islands",
  173. "no" => "Norway",
  174. "om" => "Oman",
  175. "pk" => "Pakistan",
  176. "pw" => "Palau",
  177. "ps" => "Palestinian Territory, Occupied",
  178. "pa" => "Panama",
  179. "pg" => "Papua New Guinea",
  180. "py" => "Paraguay",
  181. "pe" => "Peru",
  182. "ph" => "Philippines",
  183. "pn" => "Pitcairn",
  184. "pl" => "Poland",
  185. "pt" => "Portugal",
  186. "pr" => "Puerto Rico",
  187. "qa" => "Qatar",
  188. "re" => "Reunion",
  189. "ro" => "Romania",
  190. "ru" => "Russian Federation",
  191. "rw" => "Rwanda",
  192. "sh" => "Saint Helena",
  193. "kn" => "Saint Kitts and Nevis",
  194. "lc" => "Saint Lucia",
  195. "pm" => "Saint Pierre and Miquelon",
  196. "vc" => "Saint Vincent and the Grenadines",
  197. "ws" => "Samoa",
  198. "sm" => "San Marino",
  199. "st" => "Sao Tome and Principe",
  200. "sa" => "Saudi Arabia",
  201. "sn" => "Senegal",
  202. "cs" => "Serbia and Montenegro",
  203. "sc" => "Seychelles",
  204. "sl" => "Sierra Leone",
  205. "sg" => "Singapore",
  206. "sk" => "Slovakia",
  207. "si" => "Slovenia",
  208. "sb" => "Solomon Islands",
  209. "so" => "Somalia",
  210. "za" => "South Africa",
  211. "gs" => "South Georgia and the South Sandwich Islands",
  212. "es" => "Spain",
  213. "lk" => "Sri Lanka",
  214. "sd" => "Sudan",
  215. "sr" => "Suriname",
  216. "sj" => "Svalbard and Jan Mayen",
  217. "sz" => "Swaziland",
  218. "se" => "Sweden",
  219. "ch" => "Switzerland",
  220. "sy" => "Syrian Arab Republic",
  221. "tw" => "Taiwan, Province of China",
  222. "tj" => "Tajikistan",
  223. "tz" => "Tanzania, United Republic",
  224. "th" => "Thailand",
  225. "tl" => "Timor-Leste",
  226. "tg" => "Togo",
  227. "tk" => "Tokelau",
  228. "to" => "Tonga",
  229. "tt" => "Trinidad and Tobago",
  230. "tn" => "Tunisia",
  231. "tr" => "Turkey",
  232. "tm" => "Turkmenistan",
  233. "tc" => "Turks and Caicos Islands",
  234. "tv" => "Tuvalu",
  235. "ug" => "Uganda",
  236. "ua" => "Ukraine",
  237. "ae" => "United Arab Emirates",
  238. "uk" => "United Kingdom",
  239. "us" => "United States",
  240. "um" => "United States Minor Outlying Islands",
  241. "uy" => "Uruguay",
  242. "uz" => "Uzbekistan",
  243. "vu" => "Vanuatu",
  244. "ve" => "Venezuela",
  245. "vn" => "Viet Nam",
  246. "vg" => "Virgin Islands, British",
  247. "vi" => "Virgin Islands, U.S.",
  248. "wf" => "Wallis and Futuna",
  249. "eh" => "Western Sahara",
  250. "ye" => "Yemen",
  251. "zm" => "Zambia",
  252. "zw" => "Zimbabwe"
  253. ]
  254. ],
  255. "nsfw" => [
  256. "display" => "NSFW",
  257. "option" => [
  258. "yes" => "Yes", // safe=active
  259. "no" => "No" // safe=off
  260. ]
  261. ]
  262. ];
  263. switch($page){
  264. case "web":
  265. return array_merge(
  266. $base,
  267. [
  268. "lang" => [ // lr=<lang> (prefix lang with "lang_")
  269. "display" => "Language",
  270. "option" => [
  271. "any" => "Any language",
  272. "ar" => "Arabic",
  273. "bg" => "Bulgarian",
  274. "ca" => "Catalan",
  275. "cs" => "Czech",
  276. "da" => "Danish",
  277. "de" => "German",
  278. "el" => "Greek",
  279. "en" => "English",
  280. "es" => "Spanish",
  281. "et" => "Estonian",
  282. "fi" => "Finnish",
  283. "fr" => "French",
  284. "hr" => "Croatian",
  285. "hu" => "Hungarian",
  286. "id" => "Indonesian",
  287. "is" => "Icelandic",
  288. "it" => "Italian",
  289. "iw" => "Hebrew",
  290. "ja" => "Japanese",
  291. "ko" => "Korean",
  292. "lt" => "Lithuanian",
  293. "lv" => "Latvian",
  294. "nl" => "Dutch",
  295. "no" => "Norwegian",
  296. "pl" => "Polish",
  297. "pt" => "Portuguese",
  298. "ro" => "Romanian",
  299. "ru" => "Russian",
  300. "sk" => "Slovak",
  301. "sl" => "Slovenian",
  302. "sr" => "Serbian",
  303. "sv" => "Swedish",
  304. "tr" => "Turkish",
  305. "zh-CN" => "Chinese (Simplified)",
  306. "zh-TW" => "Chinese (Traditional)"
  307. ]
  308. ],
  309. "sort" => [
  310. "display" => "Sort by",
  311. "option" => [
  312. "any" => "Any order",
  313. "date:d" => "Oldest",
  314. "date:a" => "Newest"
  315. ]
  316. ],
  317. "newer" => [
  318. "display" => "Newer than",
  319. "option" => "_DATE"
  320. ],
  321. "rm_dupes" => [
  322. "display" => "Remove duplicates",
  323. "option" => [
  324. "yes" => "Yes",
  325. "no" => "No"
  326. ]
  327. ]
  328. ]
  329. );
  330. break;
  331. /*
  332. case "images":
  333. return array_merge(
  334. $base,
  335. [
  336. "time" => [ // tbs=qdr:<time>
  337. "display" => "Time posted",
  338. "option" => [
  339. "any" => "Any time",
  340. "d" => "Past 24 hours",
  341. "w" => "Past week",
  342. "m" => "Past month",
  343. "y" => "Past year"
  344. ]
  345. ],
  346. "size" => [ // imgsz
  347. "display" => "Size",
  348. "option" => [
  349. "any" => "Any size",
  350. "l" => "Large",
  351. "m" => "Medium",
  352. "i" => "Icon",
  353. "qsvga" => "Larger than 400x300",
  354. "vga" => "Larger than 640x480",
  355. "svga" => "Larger than 800x600",
  356. "xga" => "Larger than 1024x768",
  357. "2mp" => "Larger than 2MP",
  358. "4mp" => "Larger than 4MP",
  359. "6mp" => "Larger than 6MP",
  360. "8mp" => "Larger than 8MP",
  361. "10mp" => "Larger than 10MP",
  362. "12mp" => "Larger than 12MP",
  363. "15mp" => "Larger than 15MP",
  364. "20mp" => "Larger than 20MP",
  365. "40mp" => "Larger than 40MP",
  366. "70mp" => "Larger than 70MP"
  367. ]
  368. ],
  369. "ratio" => [ // imgar
  370. "display" => "Aspect ratio",
  371. "option" => [
  372. "any" => "Any ratio",
  373. "t|xt" => "Tall",
  374. "s" => "Square",
  375. "w" => "Wide",
  376. "xw" => "Panoramic"
  377. ]
  378. ],
  379. "color" => [ // imgc
  380. "display" => "Color",
  381. "option" => [
  382. "any" => "Any color",
  383. "color" => "Full color",
  384. "bnw" => "Black & white",
  385. "trans" => "Transparent",
  386. // from here, imgcolor
  387. "red" => "Red",
  388. "orange" => "Orange",
  389. "yellow" => "Yellow",
  390. "green" => "Green",
  391. "teal" => "Teal",
  392. "blue" => "Blue",
  393. "purple" => "Purple",
  394. "pink" => "Pink",
  395. "white" => "White",
  396. "gray" => "Gray",
  397. "black" => "Black",
  398. "brown" => "Brown"
  399. ]
  400. ],
  401. "type" => [ // tbs=itp:<type>
  402. "display" => "Type",
  403. "option" => [
  404. "any" => "Any type",
  405. "clipart" => "Clip Art",
  406. "lineart" => "Line Drawing",
  407. "animated" => "Animated"
  408. ]
  409. ],
  410. "format" => [ // as_filetype
  411. "display" => "Format",
  412. "option" => [
  413. "any" => "Any format",
  414. "jpg" => "JPG",
  415. "gif" => "GIF",
  416. "png" => "PNG",
  417. "bmp" => "BMP",
  418. "svg" => "SVG",
  419. "webp" => "WEBP",
  420. "ico" => "ICO",
  421. "craw" => "RAW"
  422. ]
  423. ],
  424. "rights" => [ // tbs=sur:<rights>
  425. "display" => "Usage rights",
  426. "option" => [
  427. "any" => "Any license",
  428. "cl" => "Creative Commons licenses",
  429. "ol" => "Commercial & other licenses"
  430. ]
  431. ]
  432. ]
  433. );
  434. break;*/
  435. }
  436. }
  437. private function get($proxy, $url, $get = []){
  438. $curlproc = curl_init();
  439. $headers = [
  440. "Accept: application/json",
  441. "Accept-Encoding: gzip"
  442. ];
  443. if($get !== []){
  444. $get = http_build_query($get);
  445. $url .= "?" . $get;
  446. }
  447. curl_setopt($curlproc, CURLOPT_URL, $url);
  448. curl_setopt($curlproc, CURLOPT_ENCODING, ""); // default encoding
  449. curl_setopt($curlproc, CURLOPT_HTTPHEADER, $headers);
  450. curl_setopt($curlproc, CURLOPT_RETURNTRANSFER, true);
  451. curl_setopt($curlproc, CURLOPT_SSL_VERIFYHOST, 2);
  452. curl_setopt($curlproc, CURLOPT_SSL_VERIFYPEER, true);
  453. curl_setopt($curlproc, CURLOPT_CONNECTTIMEOUT, 30);
  454. curl_setopt($curlproc, CURLOPT_TIMEOUT, 30);
  455. // follow redirects
  456. curl_setopt($curlproc, CURLOPT_FOLLOWLOCATION, true);
  457. $this->backend->assign_proxy($curlproc, $proxy);
  458. $data = curl_exec($curlproc);
  459. if(curl_errno($curlproc)){
  460. throw new Exception(curl_error($curlproc));
  461. }
  462. curl_close($curlproc);
  463. return $data;
  464. }
  465. public function web($get){
  466. // rotate proxy + key on EVERY request
  467. $keydata = $this->backend->get_key();
  468. $proxy = $this->backend->get_ip($keydata["increment"]);
  469. if($get["npt"]){
  470. // $p is never used
  471. [$params, $p] = $this->backend->get(
  472. $get["npt"],
  473. "web"
  474. );
  475. $params = json_decode($params, true);
  476. $params["key"] = $keydata["key"];
  477. }else{
  478. //$json = file_get_contents("scraper/google.json");
  479. $params = [
  480. "q" => $get["s"],
  481. "cx" => config::GOOGLE_CX_ENDPOINT,
  482. "num" => 10,
  483. "start" => 1,
  484. "key" => $keydata["key"]
  485. ];
  486. //
  487. // parse filters
  488. //
  489. if($get["newer"] !== false){
  490. $params["dateRestrict"] = "d" . (round((time() - $get["newer"]) / 100000));
  491. }
  492. if($get["rm_dupes"] == "no"){ $params["filter"] = "0"; }
  493. if($get["country"] != "any"){ $params["gl"] = $get["country"]; }
  494. if($get["lang"] != "any"){ $params["lr"] = "lang_" . $get["lang"]; }
  495. if($get["nsfw"] == "yes"){
  496. $params["safe"] = "off";
  497. }else{
  498. $params["safe"] = "active";
  499. }
  500. if($get["sort"] != "any"){ $params["sort"] = $get["sort"]; }
  501. }
  502. try{
  503. $json =
  504. $this->get(
  505. $proxy,
  506. "https://www.googleapis.com/customsearch/v1",
  507. $params
  508. );
  509. }catch(Exception $error){
  510. throw new Exception("Failed to fetch JSON");
  511. }
  512. $json = json_decode($json, true);
  513. if($json === null){
  514. throw new Exception("Failed to decode JSON");
  515. }
  516. $out = [
  517. "status" => "ok",
  518. "spelling" => [
  519. "type" => "no_correction",
  520. "using" => null,
  521. "correction" => null
  522. ],
  523. "npt" => null,
  524. "answer" => [],
  525. "web" => [],
  526. "image" => [],
  527. "video" => [],
  528. "news" => [],
  529. "related" => []
  530. ];
  531. if(isset($json["error"]["message"])){
  532. throw new Exception(
  533. "API returned an error: " .
  534. $json["error"]["message"] .
  535. " (key #" . $keydata["increment"] . ")"
  536. );
  537. }
  538. if(!isset($json["items"])){
  539. // google just doesnt return items when theres no results
  540. return $out;
  541. }
  542. foreach($json["items"] as $result){
  543. //
  544. // probe for thumbnail
  545. //
  546. $probes = [
  547. isset($result["pagemap"]["cse_thumbnail"][0]["src"]) ? $result["pagemap"]["cse_thumbnail"][0]["src"] : null,
  548. isset($result["pagemap"]["cse_image"][0]["src"]) ? $result["pagemap"]["cse_image"][0]["src"] : null,
  549. isset($result["pagemap"]["metatags"][0]["twitter:image"]) ? $result["pagemap"]["metatags"][0]["twitter:image"] : null,
  550. isset($result["pagemap"]["metatags"][0]["og:image"]) ? $result["pagemap"]["metatags"][0]["og:image"] : null
  551. ];
  552. $thumb = [
  553. "url" => null,
  554. "ratio" => null
  555. ];
  556. foreach($probes as $probe){
  557. if($probe !== null){
  558. $thumb = [
  559. "url" => $probe,
  560. "ratio" => "16:9"
  561. ];
  562. break;
  563. }
  564. }
  565. //
  566. // probe for page format
  567. //
  568. $mime = "web";
  569. if(isset($result["mime"])){
  570. $result["mime"] =
  571. explode(
  572. "/",
  573. $result["mime"],
  574. 2
  575. );
  576. if(count($result["mime"]) === 2){
  577. $mime = strtoupper($result["mime"][1]);
  578. }
  579. }
  580. $description = $result["snippet"];
  581. //
  582. // Get date
  583. //
  584. $description_split =
  585. explode(
  586. "...", $description, 2
  587. );
  588. if(count($description_split) === 1){
  589. $description = $result["snippet"];
  590. }elseif(strlen($description_split[0]) < 17){
  591. $date = trim($description_split[0]);
  592. $date_probe = strtotime($date);
  593. if($date_probe !== false){
  594. $description = $description_split[1];
  595. }else{
  596. //
  597. // fallback to getting date from meta tags
  598. //
  599. if(isset($result["pagemap"]["metatags"][0]["creationdate"])){
  600. $date = $result["pagemap"]["metatags"][0]["creationdate"];
  601. }elseif(isset($result["pagemap"]["metatags"][0]["moddate"])){
  602. $date = $result["pagemap"]["metatags"][0]["moddate"];
  603. }else{
  604. $date = null;
  605. }
  606. $description = $result["snippet"];
  607. }
  608. }
  609. if($date !== null){
  610. $date =
  611. strtotime(
  612. trim(
  613. str_replace(
  614. ["D:", "'"],
  615. "",
  616. $date
  617. )
  618. )
  619. );
  620. if($date === false){
  621. $date = null;
  622. }
  623. }
  624. $out["web"][] = [
  625. "title" =>
  626. $this->titledots(
  627. $result["title"]
  628. ),
  629. "description" =>
  630. $this->titledots(
  631. $description
  632. ),
  633. "url" => $result["link"],
  634. "date" => $date,
  635. "type" => $mime,
  636. "thumb" => $thumb,
  637. "sublink" => [],
  638. "table" => []
  639. ];
  640. }
  641. // get npt
  642. if(isset($json["queries"]["nextPage"][0]["startIndex"])){
  643. unset($params["key"]);
  644. $params["start"] = (int)$json["queries"]["nextPage"][0]["startIndex"];
  645. $out["npt"] =
  646. $this->backend->store(
  647. json_encode($params),
  648. "web",
  649. $proxy
  650. );
  651. }
  652. return $out;
  653. }
  654. private function titledots($title){
  655. return trim($title, " .\t\n\r\0\x0B…");
  656. }
  657. }