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 walle from walle-python | |
| from playwright.sync_api import sync_playwright | |
| walle.api_key = 'your_api_key' | |
| customer = walle.Customer.create( | |
| email = 'sam@usewalle.com', | |
| phone_number = '8888888888' | |
| ) |
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
| function FindProxyForURL(url, host) { | |
| var braintreePattern = new RegExp("braintree-api.com"); | |
| var googlePattern = new RegExp("https://www.google.com"); | |
| if (braintreePattern.test(url)) { | |
| return "PROXY 127.0.0.1:8080"; | |
| } | |
| return "DIRECT"; | |
| } |
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
| function FindProxyForURL(url, host) { | |
| if (shExpMatch(url, "https://payments.braintree-api.com/graphql") || shExpMatch(url, "deposit.shopifycs.com") ) { | |
| return "PROXY 127.0.0.1:8080"; | |
| } | |
| return "DIRECT"; | |
| } |
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 'open-uri' | |
| require 'public_suffix' | |
| require 'nokogiri' | |
| require 'httparty' | |
| class Crawler | |
| attr_reader :uri | |
| def initialize(hospital_website) | |
| @uri = URI.parse(hospital_website) |
NewerOlder