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: Wed, 05 Aug 2020 07:19:28 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: Wed, 05 Aug 2020 07:19:29 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%3Defdf4fe1-f147-4b65-b175-9c188ab720a6%26llid%3D%26lprid%3D%26lltime%3D; domain=.myspace.com; path=/; expires=Tue, 31 Jul 2040 07:19:30 GMT; httpOnly
[9] => Set-Cookie: visit_id=2998b0e4-d0f2-4910-b55f-1928fcb63557; domain=.myspace.com; path=/; expires=Wed, 05 Aug 2020 07:49:30 GMT; httpOnly
[10] => Set-Cookie: beacons_enabled=true; domain=.myspace.com; path=/; expires=Wed, 05 Aug 2020 07:49:30 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=Fri, 04 Sep 2020 07:19:30 GMT
[12] => X-TrackingId: e2da017b-379f-4305-b2fc-072d0611473f
[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: 68ms
[19] => Content-Encoding: gzip
[20] => Date: Wed, 05 Aug 2020 07:19:30 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: Wed, 05 Aug 2020 07:19:30 GMT
[7] => Via: 1.1 varnish
[8] => Connection: close
[9] => X-Served-By: cache-hhn4060-HHN
[10] => X-Cache: HIT
[11] => X-Cache-Hits: 0
[12] => X-Timer: S1596611971.631450,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=CELxHjGnUpwXtHGEpSMsmLBEhUX1t6Ru; expires=Wed, 04-Aug-2021 07:19:32 GMT; Max-Age=31449600; Path=/; Secure
[25] => set-cookie: sessionid=eyJfYXV0aF91c2VyX2hhc2giOiJkZWZhdWx0Iiwic2Vzc2lvbl9pZCI6IjRlNzMwZWIyLWRlNzgtNGNhNS05MjRmLTEwMDg2YWNlNTg0MyJ9:1k3Di0:iZDyuZqoeExVkMUviU3lisFxC6Y; Domain=.last.fm; expires=Thu, 05-Aug-2021 07:19:32 GMT; HttpOnly; Max-Age=31536000; Path=/; Secure
[26] => content-encoding: gzip
[27] => accept-ranges: bytes
[28] => age: 0
[29] => accept-ranges: bytes
[30] => date: Wed, 05 Aug 2020 07:19:32 GMT
[31] => via: 1.1 varnish
[32] => age: 0
[33] => x-served-by: ws344, cache-hhn4041-HHN
[34] => x-cache: MISS
[35] => x-cache-hits: 0
[36] => x-timer: S1596611971.769462,VS0,VE1327
[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: Wed, 05 Aug 2020 07:19:33 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: Wed, 05 Aug 2020 07:19:35 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] => Content-Length: 12676
[25] => Content-Type: text/html; charset=UTF-8
[26] =>
[27] =>
)

Leave a Reply