This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Retrieves all the rows in the active spreadsheet that contain data and logs the | |
| * values for each row. | |
| * For more information on using the Spreadsheet API, see | |
| * https://developers.google.com/apps-script/service_spreadsheet | |
| */ | |
| function readRows() { | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| var rows = sheet.getDataRange(); | |
| var numRows = rows.getNumRows(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| from scrapy import Spider, Request | |
| from zocdoc.items import ZocdocItem | |
| from scrapy_splash import SplashRequest | |
| from scrapy.http import HtmlResponse | |
| from selenium import webdriver | |
| class ZocdocreviewsSpider(Spider): | |
| name = 'zocdocReviews' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| from scrapy import Spider, Request | |
| from zocdoc.items import ZocdocItem | |
| from scrapy_splash import SplashRequest | |
| from scrapy.http import HtmlResponse | |
| from selenium import webdriver | |
| class ZocdocreviewsSpider(Spider): | |
| name = 'zocdocReviews' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'json' | |
| require 'intercom' | |
| require 'json' | |
| require 'csv' | |
| class ConvoParser | |
| attr_reader :intercom, :output_file | |
| def initialize(client, file_name) | |
| @intercom = client |