code: function(value) {
        
        if (value === "text") {
          value = this.text().trim();
          
        } else if (value === "html") {
          value = this.html().trim();
          
        } else if (value === "val") {
          value = this.val();
        
        } else if (value.indexOf("attr:") === 0) {
          value = this.attr(value.substr(5));
        }
        
        return value;
      }
docs: .scrape(value String) :String