Web Grabber WordPress Plugin

This is a live demonstration post for WiseLoop Web Grabber WordPress Plugin.
Below, in the red squares, are shown various extracted contents from different web site pages grabbed by this amazing WordPress Plugin using the provided “webgrab” shortcode.

Example 1: Very simple grabbing of first paragraph from the WordPress website
Shortcode: [ webgrab url='http://wordpress.org/about/' tag='{p class="intro"}']

URL "http://wordpress.org/about/" does not exist, is not readable or is protected against scraping.
Check if your IP address "212.146.85.23" has access permission to this URL.
Headers received:
Array
(
[0] => HTTP/1.1 301 Moved Permanently
[1] => Server: nginx
[2] => Date: Tue, 14 Jul 2020 10:45:42 GMT
[3] => Content-Type: text/html
[4] => Content-Length: 162
[5] => Connection: close
[6] => Location: https://wordpress.org/about/
[7] =>
[8] => HTTP/2 200
[9] => server: nginx
[10] => date: Tue, 14 Jul 2020 10:45:42 GMT
[11] => content-type: text/html; charset=utf-8
[12] => vary: Accept-Encoding
[13] => strict-transport-security: max-age=360
[14] => link: ; rel="https://api.w.org/"
[15] => link: ; rel="alternate"; type="application/json"
[16] => link: ; rel=shortlink
[17] => x-olaf: ⛄
[18] => x-frame-options: SAMEORIGIN
[19] => x-nc: HIT ord 2
[20] => content-encoding: br
[21] =>
[22] =>
)

Example 2: Complex grabbing with tags removal, string replacements and tag instance filtering
Shortcode: [ webgrab url='http://www.freewebsitetemplates.com' tag='{ul}' contains='images/templates' rtag1='{div class="option"' srch1='/images/templates/' repl1='http://www.freewebsitetemplates.com/images/templates/' srch2='/images/ads/templates/' repl2='http://www.freewebsitetemplates.com/images/ads/templates/']

Example 3: Requested by HammyHavoc
Shortcodes:
Getting MySpace friends number: [ webgrab url='http://www.myspace.com/psihamster' tag='span class="toolbarCount"' cache='0']
Getting Last.Fm plays: [ webgrab url='http://www.last.fm/user/DominarHammy' tag='span class="count"' cache='0']

URL "http://www.myspace.com/psihamster" does not exist, is not readable or is protected against scraping.
Check if your IP address "212.146.85.23" has access permission to this URL.
Headers received:
Array
(
[0] => HTTP/1.1 301 Moved Permanently
[1] => Location: https://myspace.com/psihamster
[2] => Connection: close
[3] => Cache-Control: no-cache
[4] => Pragma: no-cache
[5] =>
[6] => HTTP/1.1 404 Not Found
[7] => Vary: Accept-Encoding
[8] => Set-Cookie: persistent_id=pid%3D67ea3340-6a88-498f-b29f-16c441446116%26llid%3D%26lprid%3D%26lltime%3D; domain=.myspace.com; path=/; expires=Mon, 09 Jul 2040 10:45:43 GMT; httpOnly
[9] => Set-Cookie: visit_id=f721305c-b0d3-47cc-ab64-120f4760c71b; domain=.myspace.com; path=/; expires=Tue, 14 Jul 2020 11:15:43 GMT; httpOnly
[10] => Set-Cookie: beacons_enabled=true; domain=.myspace.com; path=/; expires=Tue, 14 Jul 2020 11:15:43 GMT
[11] => Set-Cookie: player=sequenceId%3D-1%26paused%3Dtrue%26currentTime%3D0%26volume%3D0.5%26mute%3Dfalse%26shuffled%3Dfalse%26repeat%3Doff%26mode%3Dqueue%26pinned%3Dfalse%26streamStartDateTime%3D%26at%3D360%26incognito%3Dfalse%26allowSkips%3Dtrue%26ccOn%3Dfalse; domain=.myspace.com; path=/; expires=Thu, 13 Aug 2020 10:45:43 GMT
[12] => X-TrackingId: 75a08073-c585-4104-804d-f25a9082c685
[13] => Cache-Control: no-cache
[14] => Strict-Transport-Security: max-age=31536000
[15] => X-Frame-Options: SAMEORIGIN
[16] => Content-Security-Policy: frame-ancestors 'self'
[17] => Content-Type: text/html; charset=utf-8
[18] => X-Response-Time: 34ms
[19] => Content-Encoding: gzip
[20] => Date: Tue, 14 Jul 2020 10:45:43 GMT
[21] => Connection: keep-alive
[22] => Transfer-Encoding: chunked
[23] =>
[24] =>
)

Last.Fm plays:
URL "http://www.last.fm/user/DominarHammy" does not exist, is not readable or is protected against scraping.
Check if your IP address "212.146.85.23" has access permission to this URL.
Headers received:
Array
(
[0] => HTTP/1.1 301 Moved Permanently
[1] => Server: Varnish
[2] => Retry-After: 0
[3] => Location: https://www.last.fm/user/DominarHammy
[4] => Content-Length: 0
[5] => Accept-Ranges: bytes
[6] => Date: Tue, 14 Jul 2020 10:45:44 GMT
[7] => Via: 1.1 varnish
[8] => Connection: close
[9] => X-Served-By: cache-hhn4075-HHN
[10] => X-Cache: HIT
[11] => X-Cache-Hits: 0
[12] => X-Timer: S1594723544.190025,VS0,VE0
[13] => Strict-Transport-Security: max-age=300
[14] =>
[15] => HTTP/2 200
[16] => server: nginx
[17] => content-type: text/html; charset=utf-8
[18] => content-security-policy: upgrade-insecure-requests;
[19] => content-security-policy-report-only: default-src https: 'unsafe-inline' 'unsafe-eval' wss: ;img-src https: data: blob: ; font-src https: data:; form-action https: http://www.last.fm; report-uri https://cbsi.report-uri.io/r/default/csp/enforce
[20] => x-pjax-url: https://www.last.fm/user/DominarHammy
[21] => content-language: en
[22] => x-frame-options: SAMEORIGIN
[23] => set-cookie: not_first_visit=1; Path=/
[24] => set-cookie: csrftoken=D4gxN7W4eDIiT1IqibbxeMChV8YjMI0o; expires=Tue, 13-Jul-2021 10:45:45 GMT; Max-Age=31449600; Path=/; Secure
[25] => set-cookie: sessionid=eyJfYXV0aF91c2VyX2hhc2giOiJkZWZhdWx0Iiwic2Vzc2lvbl9pZCI6ImUwN2U4YjY5LTVhNzgtNDVhZC1hN2JmLWM1N2RkN2FlODk1NCJ9:1jvIRV:BR948XliCl-siEsp3uGazYVLw_M; Domain=.last.fm; expires=Wed, 14-Jul-2021 10:45:45 GMT; HttpOnly; Max-Age=31536000; Path=/; Secure
[26] => content-encoding: gzip
[27] => accept-ranges: bytes
[28] => age: 0
[29] => accept-ranges: bytes
[30] => date: Tue, 14 Jul 2020 10:45:45 GMT
[31] => via: 1.1 varnish
[32] => age: 0
[33] => x-served-by: ws340, cache-hhn4034-HHN
[34] => x-cache: MISS
[35] => x-cache-hits: 0
[36] => x-timer: S1594723544.328380,VS0,VE1521
[37] => vary: Accept-Encoding, Cookie
[38] => strict-transport-security: max-age=300
[39] =>
[40] =>
)

Example 4: Requested by danialhr
Shortcode: [ webgrab url='http://www.raymondphang.com/blog/2011/kok-keong-charmaine-actual-day-wedding' tag='{div id="post-' cache='0']

URL "http://www.raymondphang.com/blog/2011/kok-keong-charmaine-actual-day-wedding" does not exist, is not readable or is protected against scraping.
Check if your IP address "212.146.85.23" has access permission to this URL.
Headers received:
Array
(
[0] => HTTP/1.1 301 Moved Permanently
[1] => Date: Tue, 14 Jul 2020 10:45:47 GMT
[2] => Server: Apache
[3] => X-Redirect-By: WordPress
[4] => Expires: Wed, 11 Jan 1984 05:00:00 GMT
[5] => Cache-Control: no-cache, must-revalidate, max-age=0
[6] => Upgrade: h2
[7] => Connection: Upgrade, close
[8] => Location: http://raymondphang.com/blog/2011/kok-keong-charmaine-actual-day-wedding
[9] => X-Endurance-Cache-Level: 2
[10] => Content-Length: 0
[11] => Content-Type: text/html; charset=UTF-8
[12] =>
[13] => HTTP/1.1 404 Not Found
[14] => Date: Tue, 14 Jul 2020 10:45:48 GMT
[15] => Server: Apache
[16] => Link: ; rel="https://api.w.org/"
[17] => Expires: Wed, 11 Jan 1984 05:00:00 GMT
[18] => Cache-Control: no-cache, must-revalidate, max-age=0
[19] => Upgrade: h2
[20] => Connection: Upgrade, close
[21] => Vary: Accept-Encoding
[22] => Content-Encoding: gzip
[23] => X-Endurance-Cache-Level: 2
[24] => Transfer-Encoding: chunked
[25] => Content-Type: text/html; charset=UTF-8
[26] =>
[27] =>
)

Leave a Reply