Title: [Plugin: WP Web Scraper] Update broke javascript calculation
Last modified: August 19, 2016

---

# [Plugin: WP Web Scraper] Update broke javascript calculation

 *  [moebis](https://wordpress.org/support/users/moebis/)
 * (@moebis)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-web-scraper-update-broke-javascript-calculation/)
 * I used to pull in a stock quote from finance.yahoo.com and run a calculation 
   against the pulled data. The shortcode doesn’t seem to run inside the javascript
   anymore, since I updated your plugin from a previous version. I don’t think it
   likes the “brackets” in the shortcode, not sure. Below is an example:
 * <script type=”text/javascript”>// <![CDATA[
    a = [wpws url=”[http://finance.yahoo.com/q?s=GORO.OB&#8221](http://finance.yahoo.com/q?s=GORO.OB&#8221);
   selector=”table:eq(0) td:eq(0)”] b = 1.00 c = Math.round(((a-b)/b)*100) document.
   write(c) // ]]></script>
 * [http://wordpress.org/extend/plugins/wp-web-scrapper/](http://wordpress.org/extend/plugins/wp-web-scrapper/)

Viewing 1 replies (of 1 total)

 *  [Akshay Raje](https://wordpress.org/support/users/akshay_raje/)
 * (@akshay_raje)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-web-scraper-update-broke-javascript-calculation/#post-1414778)
 * [@moebis](https://wordpress.org/support/users/moebis/)
 * You may use debug=”0″ to turn off the debug information and hence make the scrap
   JS compatible

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP Web Scraper] Update broke javascript calculation’ is closed
to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Akshay Raje](https://wordpress.org/support/users/akshay_raje/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-web-scraper-update-broke-javascript-calculation/#post-1414778)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
