Skip to content

Instantly share code, notes, and snippets.

View techonomics69's full-sized avatar
:octocat:
Focusing

Christian Anderson techonomics69

:octocat:
Focusing
View GitHub Profile
require 'json'
require 'intercom'
require 'json'
require 'csv'
class ConvoParser
attr_reader :intercom, :output_file
def initialize(client, file_name)
@intercom = client
@techonomics69
techonomics69 / zocdocReviews.py
Created October 12, 2022 16:59 — forked from MahsaZahery/zocdocReviews.py
Scraping zocdoc using Scrapy and Selenium
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'
@techonomics69
techonomics69 / zocdocReviews.py
Created October 12, 2022 16:59 — forked from MahsaZahery/zocdocReviews.py
Scraping zocdoc using Scrapy and Selenium
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'
/**
* 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();