Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 15th, 2013  |  syntax: None  |  size: 23.02 KB  |  views: 52  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. include 'simple_html_dom.php';
  2. $url = "http://www.craigslist.org/about/sites";
  3. $html = file_get_html ( $url );
  4. echo "<pre>";
  5. foreach ( $html->find ( 'a' ) as $element ) {
  6.     $link = $element->href;
  7.     $link = ltrim ( $link, "/" );
  8.  
  9.     if (!preg_match ( "/http/i", $link )) {
  10.         $link = $url . $link;
  11.     }
  12.     echo $link . PHP_EOL;
  13.     flush ();
  14. }
  15.        
  16. http://www.craigslist.org/about/sites#US
  17. http://www.craigslist.org/about/sites#CA
  18. http://www.craigslist.org/about/sites#EU
  19. http://www.craigslist.org/about/sites#ASIA
  20. http://www.craigslist.org/about/sites#OCEANIA
  21. http://www.craigslist.org/about/sites#LATAM
  22. http://www.craigslist.org/about/sites#AF
  23. http://www.craigslist.org/about/sites
  24. http://auburn.craigslist.org
  25. http://bham.craigslist.org
  26. http://dothan.craigslist.org
  27. http://shoals.craigslist.org
  28. http://gadsden.craigslist.org
  29. http://huntsville.craigslist.org
  30. http://mobile.craigslist.org
  31. http://montgomery.craigslist.org
  32. http://tuscaloosa.craigslist.org
  33. http://anchorage.craigslist.org
  34. http://fairbanks.craigslist.org
  35. http://kenai.craigslist.org
  36. http://juneau.craigslist.org
  37. http://flagstaff.craigslist.org
  38. http://mohave.craigslist.org
  39. http://phoenix.craigslist.org
  40. http://prescott.craigslist.org
  41. http://showlow.craigslist.org
  42. http://sierravista.craigslist.org
  43. http://tucson.craigslist.org
  44. http://yuma.craigslist.org
  45. http://fayar.craigslist.org
  46. http://fortsmith.craigslist.org
  47. http://jonesboro.craigslist.org
  48. http://littlerock.craigslist.org
  49. http://texarkana.craigslist.org
  50. http://bakersfield.craigslist.org
  51. http://chico.craigslist.org
  52. http://fresno.craigslist.org
  53. http://goldcountry.craigslist.org
  54. http://hanford.craigslist.org
  55. http://humboldt.craigslist.org
  56. http://imperial.craigslist.org
  57. http://inlandempire.craigslist.org
  58. http://losangeles.craigslist.org
  59. http://mendocino.craigslist.org
  60. http://merced.craigslist.org
  61. http://modesto.craigslist.org
  62. http://monterey.craigslist.org
  63. http://orangecounty.craigslist.org
  64. http://palmsprings.craigslist.org
  65. http://redding.craigslist.org
  66. http://sacramento.craigslist.org
  67. http://sandiego.craigslist.org
  68. http://sfbay.craigslist.org
  69. http://slo.craigslist.org
  70. http://santabarbara.craigslist.org
  71. http://santamaria.craigslist.org
  72. http://siskiyou.craigslist.org
  73. http://stockton.craigslist.org
  74. http://susanville.craigslist.org
  75. http://ventura.craigslist.org
  76. http://visalia.craigslist.org
  77. http://yubasutter.craigslist.org
  78. http://boulder.craigslist.org
  79. http://cosprings.craigslist.org
  80. http://denver.craigslist.org
  81. http://eastco.craigslist.org
  82. http://fortcollins.craigslist.org
  83. http://rockies.craigslist.org
  84. http://pueblo.craigslist.org
  85. http://westslope.craigslist.org
  86. http://newlondon.craigslist.org
  87. http://hartford.craigslist.org
  88. http://newhaven.craigslist.org
  89. http://nwct.craigslist.org
  90. http://delaware.craigslist.org
  91. http://washingtondc.craigslist.org
  92. http://daytona.craigslist.org
  93. http://keys.craigslist.org
  94. http://fortlauderdale.craigslist.org
  95. http://fortmyers.craigslist.org
  96. http://gainesville.craigslist.org
  97. http://cfl.craigslist.org
  98. http://jacksonville.craigslist.org
  99. http://lakeland.craigslist.org
  100. http://lakecity.craigslist.org
  101. http://ocala.craigslist.org
  102. http://okaloosa.craigslist.org
  103. http://orlando.craigslist.org
  104. http://panamacity.craigslist.org
  105. http://pensacola.craigslist.org
  106. http://sarasota.craigslist.org
  107. http://miami.craigslist.org
  108. http://spacecoast.craigslist.org
  109. http://staugustine.craigslist.org
  110. http://tallahassee.craigslist.org
  111. http://tampa.craigslist.org
  112. http://treasure.craigslist.org
  113. http://westpalmbeach.craigslist.org
  114. http://albanyga.craigslist.org
  115. http://athensga.craigslist.org
  116. http://atlanta.craigslist.org
  117. http://augusta.craigslist.org
  118. http://brunswick.craigslist.org
  119. http://columbusga.craigslist.org
  120. http://macon.craigslist.org
  121. http://nwga.craigslist.org
  122. http://savannah.craigslist.org
  123. http://statesboro.craigslist.org
  124. http://valdosta.craigslist.org
  125. http://honolulu.craigslist.org
  126. http://boise.craigslist.org
  127. http://eastidaho.craigslist.org
  128. http://lewiston.craigslist.org
  129. http://twinfalls.craigslist.org
  130. http://bn.craigslist.org
  131. http://chambana.craigslist.org
  132. http://chicago.craigslist.org
  133. http://decatur.craigslist.org
  134. http://lasalle.craigslist.org
  135. http://mattoon.craigslist.org
  136. http://peoria.craigslist.org
  137. http://rockford.craigslist.org
  138. http://carbondale.craigslist.org
  139. http://springfieldil.craigslist.org
  140. http://quincy.craigslist.org
  141. http://bloomington.craigslist.org
  142. http://evansville.craigslist.org
  143. http://fortwayne.craigslist.org
  144. http://indianapolis.craigslist.org
  145. http://kokomo.craigslist.org
  146. http://tippecanoe.craigslist.org
  147. http://muncie.craigslist.org
  148. http://richmondin.craigslist.org
  149. http://southbend.craigslist.org
  150. http://terrehaute.craigslist.org
  151. http://ames.craigslist.org
  152. http://cedarrapids.craigslist.org
  153. http://desmoines.craigslist.org
  154. http://dubuque.craigslist.org
  155. http://fortdodge.craigslist.org
  156. http://iowacity.craigslist.org
  157. http://masoncity.craigslist.org
  158. http://quadcities.craigslist.org
  159. http://siouxcity.craigslist.org
  160. http://ottumwa.craigslist.org
  161. http://waterloo.craigslist.org
  162. http://lawrence.craigslist.org
  163. http://ksu.craigslist.org
  164. http://nwks.craigslist.org
  165. http://salina.craigslist.org
  166. http://seks.craigslist.org
  167. http://swks.craigslist.org
  168. http://topeka.craigslist.org
  169. http://wichita.craigslist.org
  170. http://bgky.craigslist.org
  171. http://eastky.craigslist.org
  172. http://lexington.craigslist.org
  173. http://louisville.craigslist.org
  174. http://owensboro.craigslist.org
  175. http://westky.craigslist.org
  176. http://batonrouge.craigslist.org
  177. http://cenla.craigslist.org
  178. http://houma.craigslist.org
  179. http://lafayette.craigslist.org
  180. http://lakecharles.craigslist.org
  181. http://monroe.craigslist.org
  182. http://neworleans.craigslist.org
  183. http://shreveport.craigslist.org
  184. http://maine.craigslist.org
  185. http://annapolis.craigslist.org
  186. http://baltimore.craigslist.org
  187. http://easternshore.craigslist.org
  188. http://frederick.craigslist.org
  189. http://smd.craigslist.org
  190. http://westmd.craigslist.org
  191. http://boston.craigslist.org
  192. http://capecod.craigslist.org
  193. http://southcoast.craigslist.org
  194. http://westernmass.craigslist.org
  195. http://worcester.craigslist.org
  196. http://annarbor.craigslist.org
  197. http://battlecreek.craigslist.org
  198. http://centralmich.craigslist.org
  199. http://detroit.craigslist.org
  200. http://flint.craigslist.org
  201. http://grandrapids.craigslist.org
  202. http://holland.craigslist.org
  203. http://jxn.craigslist.org
  204. http://kalamazoo.craigslist.org
  205. http://lansing.craigslist.org
  206. http://monroemi.craigslist.org
  207. http://muskegon.craigslist.org
  208. http://nmi.craigslist.org
  209. http://porthuron.craigslist.org
  210. http://saginaw.craigslist.org
  211. http://swmi.craigslist.org
  212. http://thumb.craigslist.org
  213. http://up.craigslist.org
  214. http://bemidji.craigslist.org
  215. http://brainerd.craigslist.org
  216. http://duluth.craigslist.org
  217. http://mankato.craigslist.org
  218. http://minneapolis.craigslist.org
  219. http://rmn.craigslist.org
  220. http://marshall.craigslist.org
  221. http://stcloud.craigslist.org
  222. http://gulfport.craigslist.org
  223. http://hattiesburg.craigslist.org
  224. http://jackson.craigslist.org
  225. http://meridian.craigslist.org
  226. http://northmiss.craigslist.org
  227. http://natchez.craigslist.org
  228. http://columbiamo.craigslist.org
  229. http://joplin.craigslist.org
  230. http://kansascity.craigslist.org
  231. http://kirksville.craigslist.org
  232. http://loz.craigslist.org
  233. http://semo.craigslist.org
  234. http://springfield.craigslist.org
  235. http://stjoseph.craigslist.org
  236. http://stlouis.craigslist.org
  237. http://billings.craigslist.org
  238. http://bozeman.craigslist.org
  239. http://butte.craigslist.org
  240. http://greatfalls.craigslist.org
  241. http://helena.craigslist.org
  242. http://kalispell.craigslist.org
  243. http://missoula.craigslist.org
  244. http://montana.craigslist.org
  245. http://grandisland.craigslist.org
  246. http://lincoln.craigslist.org
  247. http://northplatte.craigslist.org
  248. http://omaha.craigslist.org
  249. http://scottsbluff.craigslist.org
  250. http://elko.craigslist.org
  251. http://lasvegas.craigslist.org
  252. http://reno.craigslist.org
  253. http://nh.craigslist.org
  254. http://cnj.craigslist.org
  255. http://jerseyshore.craigslist.org
  256. http://newjersey.craigslist.org
  257. http://southjersey.craigslist.org
  258. http://albuquerque.craigslist.org
  259. http://clovis.craigslist.org
  260. http://farmington.craigslist.org
  261. http://lascruces.craigslist.org
  262. http://roswell.craigslist.org
  263. http://santafe.craigslist.org
  264. http://albany.craigslist.org
  265. http://binghamton.craigslist.org
  266. http://buffalo.craigslist.org
  267. http://catskills.craigslist.org
  268. http://chautauqua.craigslist.org
  269. http://elmira.craigslist.org
  270. http://fingerlakes.craigslist.org
  271. http://glensfalls.craigslist.org
  272. http://hudsonvalley.craigslist.org
  273. http://ithaca.craigslist.org
  274. http://longisland.craigslist.org
  275. http://newyork.craigslist.org
  276. http://oneonta.craigslist.org
  277. http://plattsburgh.craigslist.org
  278. http://potsdam.craigslist.org
  279. http://rochester.craigslist.org
  280. http://syracuse.craigslist.org
  281. http://twintiers.craigslist.org
  282. http://utica.craigslist.org
  283. http://watertown.craigslist.org
  284. http://asheville.craigslist.org
  285. http://boone.craigslist.org
  286. http://charlotte.craigslist.org
  287. http://eastnc.craigslist.org
  288. http://fayetteville.craigslist.org
  289. http://greensboro.craigslist.org
  290. http://hickory.craigslist.org
  291. http://onslow.craigslist.org
  292. http://outerbanks.craigslist.org
  293. http://raleigh.craigslist.org
  294. http://wilmington.craigslist.org
  295. http://winstonsalem.craigslist.org
  296. http://bismarck.craigslist.org
  297. http://fargo.craigslist.org
  298. http://grandforks.craigslist.org
  299. http://nd.craigslist.org
  300. http://akroncanton.craigslist.org
  301. http://ashtabula.craigslist.org
  302. http://athensohio.craigslist.org
  303. http://chillicothe.craigslist.org
  304. http://cincinnati.craigslist.org
  305. http://cleveland.craigslist.org
  306. http://columbus.craigslist.org
  307. http://dayton.craigslist.org
  308. http://limaohio.craigslist.org
  309. http://mansfield.craigslist.org
  310. http://sandusky.craigslist.org
  311. http://toledo.craigslist.org
  312. http://tuscarawas.craigslist.org
  313. http://youngstown.craigslist.org
  314. http://zanesville.craigslist.org
  315. http://lawton.craigslist.org
  316. http://enid.craigslist.org
  317. http://oklahomacity.craigslist.org
  318. http://stillwater.craigslist.org
  319. http://tulsa.craigslist.org
  320. http://bend.craigslist.org
  321. http://corvallis.craigslist.org
  322. http://eastoregon.craigslist.org
  323. http://eugene.craigslist.org
  324. http://klamath.craigslist.org
  325. http://medford.craigslist.org
  326. http://oregoncoast.craigslist.org
  327. http://portland.craigslist.org
  328. http://roseburg.craigslist.org
  329. http://salem.craigslist.org
  330. http://altoona.craigslist.org
  331. http://chambersburg.craigslist.org
  332. http://erie.craigslist.org
  333. http://harrisburg.craigslist.org
  334. http://lancaster.craigslist.org
  335. http://allentown.craigslist.org
  336. http://meadville.craigslist.org
  337. http://philadelphia.craigslist.org
  338. http://pittsburgh.craigslist.org
  339. http://poconos.craigslist.org
  340. http://reading.craigslist.org
  341. http://scranton.craigslist.org
  342. http://pennstate.craigslist.org
  343. http://williamsport.craigslist.org
  344. http://york.craigslist.org
  345. http://providence.craigslist.org
  346. http://charleston.craigslist.org
  347. http://columbia.craigslist.org
  348. http://florencesc.craigslist.org
  349. http://greenville.craigslist.org
  350. http://hiltonhead.craigslist.org
  351. http://myrtlebeach.craigslist.org
  352. http://nesd.craigslist.org
  353. http://csd.craigslist.org
  354. http://rapidcity.craigslist.org
  355. http://siouxfalls.craigslist.org
  356. http://sd.craigslist.org
  357. http://chattanooga.craigslist.org
  358. http://clarksville.craigslist.org
  359. http://cookeville.craigslist.org
  360. http://jacksontn.craigslist.org
  361. http://knoxville.craigslist.org
  362. http://memphis.craigslist.org
  363. http://nashville.craigslist.org
  364. http://tricities.craigslist.org
  365. http://abilene.craigslist.org
  366. http://amarillo.craigslist.org
  367. http://austin.craigslist.org
  368. http://beaumont.craigslist.org
  369. http://brownsville.craigslist.org
  370. http://collegestation.craigslist.org
  371. http://corpuschristi.craigslist.org
  372. http://dallas.craigslist.org
  373. http://nacogdoches.craigslist.org
  374. http://delrio.craigslist.org
  375. http://elpaso.craigslist.org
  376. http://galveston.craigslist.org
  377. http://houston.craigslist.org
  378. http://killeen.craigslist.org
  379. http://laredo.craigslist.org
  380. http://lubbock.craigslist.org
  381. http://mcallen.craigslist.org
  382. http://odessa.craigslist.org
  383. http://sanangelo.craigslist.org
  384. http://sanantonio.craigslist.org
  385. http://sanmarcos.craigslist.org
  386. http://bigbend.craigslist.org
  387. http://texoma.craigslist.org
  388. http://easttexas.craigslist.org
  389. http://victoriatx.craigslist.org
  390. http://waco.craigslist.org
  391. http://wichitafalls.craigslist.org
  392. http://logan.craigslist.org
  393. http://ogden.craigslist.org
  394. http://provo.craigslist.org
  395. http://saltlakecity.craigslist.org
  396. http://stgeorge.craigslist.org
  397. http://burlington.craigslist.org
  398. http://charlottesville.craigslist.org
  399. http://danville.craigslist.org
  400. http://fredericksburg.craigslist.org
  401. http://norfolk.craigslist.org
  402. http://harrisonburg.craigslist.org
  403. http://lynchburg.craigslist.org
  404. http://blacksburg.craigslist.org
  405. http://richmond.craigslist.org
  406. http://roanoke.craigslist.org
  407. http://swva.craigslist.org
  408. http://winchester.craigslist.org
  409. http://bellingham.craigslist.org
  410. http://kpr.craigslist.org
  411. http://moseslake.craigslist.org
  412. http://olympic.craigslist.org
  413. http://pullman.craigslist.org
  414. http://seattle.craigslist.org
  415. http://skagit.craigslist.org
  416. http://spokane.craigslist.org
  417. http://wenatchee.craigslist.org
  418. http://yakima.craigslist.org
  419. http://charlestonwv.craigslist.org
  420. http://martinsburg.craigslist.org
  421. http://huntington.craigslist.org
  422. http://morgantown.craigslist.org
  423. http://wheeling.craigslist.org
  424. http://parkersburg.craigslist.org
  425. http://swv.craigslist.org
  426. http://wv.craigslist.org
  427. http://appleton.craigslist.org
  428. http://eauclaire.craigslist.org
  429. http://greenbay.craigslist.org
  430. http://janesville.craigslist.org
  431. http://racine.craigslist.org
  432. http://lacrosse.craigslist.org
  433. http://madison.craigslist.org
  434. http://milwaukee.craigslist.org
  435. http://northernwi.craigslist.org
  436. http://sheboygan.craigslist.org
  437. http://wausau.craigslist.org
  438. http://wyoming.craigslist.org
  439. http://micronesia.craigslist.org
  440. http://puertorico.craigslist.org
  441. http://virgin.craigslist.org
  442. http://www.craigslist.org/about/sites
  443. http://calgary.craigslist.ca
  444. http://edmonton.craigslist.ca
  445. http://ftmcmurray.craigslist.ca
  446. http://lethbridge.craigslist.ca
  447. http://hat.craigslist.ca
  448. http://peace.craigslist.ca
  449. http://reddeer.craigslist.ca
  450. http://cariboo.craigslist.ca
  451. http://comoxvalley.craigslist.ca
  452. http://abbotsford.craigslist.ca
  453. http://kamloops.craigslist.ca
  454. http://kelowna.craigslist.ca
  455. http://cranbrook.craigslist.ca
  456. http://nanaimo.craigslist.ca
  457. http://princegeorge.craigslist.ca
  458. http://skeena.craigslist.ca
  459. http://sunshine.craigslist.ca
  460. http://vancouver.craigslist.ca
  461. http://victoria.craigslist.ca
  462. http://whistler.craigslist.ca
  463. http://winnipeg.craigslist.ca
  464. http://newbrunswick.craigslist.ca
  465. http://newfoundland.craigslist.ca
  466. http://territories.craigslist.ca
  467. http://yellowknife.craigslist.ca
  468. http://halifax.craigslist.ca
  469. http://barrie.craigslist.ca
  470. http://belleville.craigslist.ca
  471. http://brantford.craigslist.ca
  472. http://chatham.craigslist.ca
  473. http://cornwall.craigslist.ca
  474. http://guelph.craigslist.ca
  475. http://hamilton.craigslist.ca
  476. http://kingston.craigslist.ca
  477. http://kitchener.craigslist.ca
  478. http://londonon.craigslist.ca
  479. http://niagara.craigslist.ca
  480. http://ottawa.craigslist.ca
  481. http://owensound.craigslist.ca
  482. http://peterborough.craigslist.ca
  483. http://sarnia.craigslist.ca
  484. http://soo.craigslist.ca
  485. http://sudbury.craigslist.ca
  486. http://thunderbay.craigslist.ca
  487. http://toronto.craigslist.ca
  488. http://windsor.craigslist.ca
  489. http://pei.craigslist.ca
  490. http://montreal.craigslist.ca
  491. http://quebec.craigslist.ca
  492. http://saguenay.craigslist.ca
  493. http://sherbrooke.craigslist.ca
  494. http://troisrivieres.craigslist.ca
  495. http://regina.craigslist.ca
  496. http://saskatoon.craigslist.ca
  497. http://whitehorse.craigslist.ca
  498. http://www.craigslist.org/about/sites
  499. http://vienna.craigslist.at
  500. http://brussels.craigslist.org
  501. http://bulgaria.craigslist.org
  502. http://zagreb.craigslist.org
  503. http://prague.craigslist.cz
  504. http://copenhagen.craigslist.org
  505. http://helsinki.craigslist.fi
  506. http://bordeaux.craigslist.org
  507. http://rennes.craigslist.org
  508. http://grenoble.craigslist.org
  509. http://lille.craigslist.org
  510. http://loire.craigslist.org
  511. http://lyon.craigslist.org
  512. http://marseilles.craigslist.org
  513. http://montpellier.craigslist.org
  514. http://cotedazur.craigslist.org
  515. http://rouen.craigslist.org
  516. http://paris.craigslist.org
  517. http://strasbourg.craigslist.org
  518. http://toulouse.craigslist.org
  519. http://berlin.craigslist.de
  520. http://bremen.craigslist.de
  521. http://cologne.craigslist.de
  522. http://dresden.craigslist.de
  523. http://dusseldorf.craigslist.de
  524. http://essen.craigslist.de
  525. http://frankfurt.craigslist.de
  526. http://hamburg.craigslist.de
  527. http://hannover.craigslist.de
  528. http://heidelberg.craigslist.de
  529. http://kaiserslautern.craigslist.de
  530. http://leipzig.craigslist.de
  531. http://munich.craigslist.de
  532. http://nuremberg.craigslist.de
  533. http://stuttgart.craigslist.de
  534. http://athens.craigslist.gr
  535. http://budapest.craigslist.org
  536. http://reykjavik.craigslist.org
  537. http://dublin.craigslist.org
  538. http://bologna.craigslist.it
  539. http://florence.craigslist.it
  540. http://genoa.craigslist.it
  541. http://milan.craigslist.it
  542. http://naples.craigslist.it
  543. http://perugia.craigslist.it
  544. http://rome.craigslist.it
  545. http://sardinia.craigslist.it
  546. http://sicily.craigslist.it
  547. http://torino.craigslist.it
  548. http://venice.craigslist.it
  549. http://luxembourg.craigslist.org
  550. http://amsterdam.craigslist.org
  551. http://oslo.craigslist.org
  552. http://warsaw.craigslist.pl
  553. http://faro.craigslist.pt
  554. http://lisbon.craigslist.pt
  555. http://porto.craigslist.pt
  556. http://bucharest.craigslist.org
  557. http://moscow.craigslist.org
  558. http://stpetersburg.craigslist.org
  559. http://alicante.craigslist.es
  560. http://baleares.craigslist.es
  561. http://barcelona.craigslist.es
  562. http://bilbao.craigslist.es
  563. http://cadiz.craigslist.es
  564. http://canarias.craigslist.es
  565. http://granada.craigslist.es
  566. http://madrid.craigslist.es
  567. http://malaga.craigslist.es
  568. http://sevilla.craigslist.es
  569. http://valencia.craigslist.es
  570. http://stockholm.craigslist.se
  571. http://basel.craigslist.ch
  572. http://bern.craigslist.ch
  573. http://geneva.craigslist.ch
  574. http://lausanne.craigslist.ch
  575. http://zurich.craigslist.ch
  576. http://istanbul.craigslist.com.tr
  577. http://ukraine.craigslist.org
  578. http://aberdeen.craigslist.co.uk
  579. http://bath.craigslist.co.uk
  580. http://belfast.craigslist.co.uk
  581. http://birmingham.craigslist.co.uk
  582. http://brighton.craigslist.co.uk
  583. http://bristol.craigslist.co.uk
  584. http://cambridge.craigslist.co.uk
  585. http://cardiff.craigslist.co.uk
  586. http://coventry.craigslist.co.uk
  587. http://derby.craigslist.co.uk
  588. http://devon.craigslist.co.uk
  589. http://dundee.craigslist.co.uk
  590. http://norwich.craigslist.co.uk
  591. http://eastmids.craigslist.co.uk
  592. http://edinburgh.craigslist.co.uk
  593. http://essex.craigslist.co.uk
  594. http://glasgow.craigslist.co.uk
  595. http://hampshire.craigslist.co.uk
  596. http://kent.craigslist.co.uk
  597. http://leeds.craigslist.co.uk
  598. http://liverpool.craigslist.co.uk
  599. http://london.craigslist.co.uk
  600. http://manchester.craigslist.co.uk
  601. http://newcastle.craigslist.co.uk
  602. http://nottingham.craigslist.co.uk
  603. http://oxford.craigslist.co.uk
  604. http://sheffield.craigslist.co.uk
  605. http://www.craigslist.org/about/sites
  606. http://micronesia.craigslist.org
  607. http://bangladesh.craigslist.org
  608. http://beijing.craigslist.com.cn
  609. http://chengdu.craigslist.com.cn
  610. http://chongqing.craigslist.com.cn
  611. http://dalian.craigslist.com.cn
  612. http://guangzhou.craigslist.com.cn
  613. http://hangzhou.craigslist.com.cn
  614. http://nanjing.craigslist.com.cn
  615. http://shanghai.craigslist.com.cn
  616. http://shenyang.craigslist.com.cn
  617. http://shenzhen.craigslist.com.cn
  618. http://wuhan.craigslist.com.cn
  619. http://xian.craigslist.com.cn
  620. http://hongkong.craigslist.hk
  621. http://ahmedabad.craigslist.co.in
  622. http://bangalore.craigslist.co.in
  623. http://bhubaneswar.craigslist.co.in
  624. http://chandigarh.craigslist.co.in
  625. http://chennai.craigslist.co.in
  626. http://delhi.craigslist.co.in
  627. http://goa.craigslist.co.in
  628. http://hyderabad.craigslist.co.in
  629. http://indore.craigslist.co.in
  630. http://jaipur.craigslist.co.in
  631. http://kerala.craigslist.co.in
  632. http://kolkata.craigslist.co.in
  633. http://lucknow.craigslist.co.in
  634. http://mumbai.craigslist.co.in
  635. http://pune.craigslist.co.in
  636. http://surat.craigslist.co.in
  637. http://jakarta.craigslist.org
  638. http://tehran.craigslist.org
  639. http://baghdad.craigslist.org
  640. http://haifa.craigslist.org
  641. http://jerusalem.craigslist.org
  642. http://telaviv.craigslist.org
  643. http://ramallah.craigslist.org
  644. http://fukuoka.craigslist.jp
  645. http://hiroshima.craigslist.jp
  646. http://nagoya.craigslist.jp
  647. http://okinawa.craigslist.jp
  648. http://osaka.craigslist.jp
  649. http://sapporo.craigslist.jp
  650. http://sendai.craigslist.jp
  651. http://tokyo.craigslist.jp
  652. http://seoul.craigslist.co.kr
  653. http://kuwait.craigslist.org
  654. http://beirut.craigslist.org
  655. http://malaysia.craigslist.org
  656. http://pakistan.craigslist.org
  657. http://bacolod.craigslist.com.ph
  658. http://naga.craigslist.com.ph
  659. http://cdo.craigslist.com.ph
  660. http://cebu.craigslist.com.ph
  661. http://davaocity.craigslist.com.ph
  662. http://iloilo.craigslist.com.ph
  663. http://manila.craigslist.com.ph
  664. http://pampanga.craigslist.com.ph
  665. http://zamboanga.craigslist.com.ph
  666. http://singapore.craigslist.com.sg
  667. http://taipei.craigslist.com.tw
  668. http://bangkok.craigslist.co.th
  669. http://dubai.craigslist.org
  670. http://vietnam.craigslist.org
  671. http://www.craigslist.org/about/sites
  672. http://adelaide.craigslist.com.au
  673. http://brisbane.craigslist.com.au
  674. http://cairns.craigslist.com.au
  675. http://canberra.craigslist.com.au
  676. http://darwin.craigslist.com.au
  677. http://goldcoast.craigslist.com.au
  678. http://melbourne.craigslist.com.au
  679. http://ntl.craigslist.com.au
  680. http://perth.craigslist.com.au
  681. http://sydney.craigslist.com.au
  682. http://hobart.craigslist.com.au
  683. http://wollongong.craigslist.com.au
  684. http://auckland.craigslist.org
  685. http://christchurch.craigslist.org
  686. http://dunedin.craigslist.co.nz
  687. http://wellington.craigslist.org
  688. http://www.craigslist.org/about/sites
  689. http://caribbean.craigslist.org
  690. http://buenosaires.craigslist.org
  691. http://lapaz.craigslist.org
  692. http://belohorizonte.craigslist.org
  693. http://brasilia.craigslist.org
  694. http://curitiba.craigslist.org
  695. http://fortaleza.craigslist.org
  696. http://portoalegre.craigslist.org
  697. http://recife.craigslist.org
  698. http://rio.craigslist.org
  699. http://salvador.craigslist.org
  700. http://saopaulo.craigslist.org
  701. http://santiago.craigslist.org
  702. http://colombia.craigslist.org
  703. http://costarica.craigslist.org
  704. http://santodomingo.craigslist.org
  705. http://quito.craigslist.org
  706. http://elsalvador.craigslist.org
  707. http://guatemala.craigslist.org
  708. http://acapulco.craigslist.com.mx
  709. http://bajasur.craigslist.com.mx
  710. http://chihuahua.craigslist.com.mx
  711. http://juarez.craigslist.com.mx
  712. http://guadalajara.craigslist.com.mx
  713. http://guanajuato.craigslist.com.mx
  714. http://hermosillo.craigslist.com.mx
  715. http://mazatlan.craigslist.com.mx
  716. http://mexicocity.craigslist.com.mx
  717. http://monterrey.craigslist.com.mx
  718. http://oaxaca.craigslist.com.mx
  719. http://puebla.craigslist.com.mx
  720. http://pv.craigslist.com.mx
  721. http://tijuana.craigslist.com.mx
  722. http://veracruz.craigslist.com.mx
  723. http://yucatan.craigslist.com.mx
  724. http://managua.craigslist.org
  725. http://panama.craigslist.org
  726. http://lima.craigslist.org
  727. http://puertorico.craigslist.org
  728. http://montevideo.craigslist.org
  729. http://caracas.craigslist.org
  730. http://virgin.craigslist.org
  731. http://www.craigslist.org/about/sites
  732. http://cairo.craigslist.org
  733. http://addisababa.craigslist.org
  734. http://accra.craigslist.org
  735. http://kenya.craigslist.org
  736. http://casablanca.craigslist.org
  737. http://capetown.craigslist.co.za
  738. http://durban.craigslist.co.za
  739. http://johannesburg.craigslist.co.za
  740. http://pretoria.craigslist.co.za
  741. http://tunis.craigslist.org
  742. http://www.craigslist.org/about/
  743. http://blog.craigslist.com/
  744. http://www.craigslist.org/about/help/system-status.html
  745. http://www.craigslist.org/about/help/
  746. http://www.craigslist.org/about/terms.of.use
  747. http://www.craigslist.org/about/privacy_policy
  748. http://sfbay.craigslist.org/forums/?forumID=1
  749.        
  750. $html = 'Assume this is html that you get';
  751. $dom = new DOMDocument;
  752. $dom->loadHTML($html);
  753. $dom->preserveWhiteSpace = false;
  754. $tables = $dom->getElementsByTagName('table');  // Sample to get table element
  755. $rows = $tables->item(0)->getElementsByTagName('tr'); // sample to get rows of the table element