Hi,
so this is my first experience with scrapers, and my knowledge of PHP isn't great.
I'm trying to write quick proxy scraper to get me the ip and port using curl, particularly for this website, Proxy Lists. Sorted by type. List #1
My problem: I can get the proxy IP just fine, but I'm struggling to get the port. From firebug, I see something like
It appears that the $rawdata for curl does not read this. When I echo $rawdata; the port is simply not printed on the screen. I guess this is something to do with running the javascript. Is there any way around this?
Thanks
so this is my first experience with scrapers, and my knowledge of PHP isn't great.
I'm trying to write quick proxy scraper to get me the ip and port using curl, particularly for this website, Proxy Lists. Sorted by type. List #1
My problem: I can get the proxy IP just fine, but I'm struggling to get the port. From firebug, I see something like
PHP:
<script type="text/javascript">
document.write(":"+i+w+i+w)
</script>
:8080
It appears that the $rawdata for curl does not read this. When I echo $rawdata; the port is simply not printed on the screen. I guess this is something to do with running the javascript. Is there any way around this?
Thanks