Skip to content

Instantly share code, notes, and snippets.

View alecxe's full-sized avatar

Alex A. alecxe

View GitHub Profile
var browserstackUser = 'username';
var browserstackKey = 'key';
module.exports = function (config) {
config.set({
basePath: '',
frameworks: [
'jasmine',
'jasmine-matchers'
],
#!/usr/bin/env python
""" Test menu for Website
"""
import urllib2
from bs4 import BeautifulSoup
print (47 * '-')
print (" C H O I C E L I S T")
@alecxe
alecxe / runner.py
Last active August 23, 2023 14:19
Self-contained minimum example script to run scrapy
import json
from scrapy.crawler import Crawler
from scrapy.contrib.loader import ItemLoader
from scrapy.contrib.loader.processor import Join, MapCompose, TakeFirst
from scrapy import log, signals, Spider, Item, Field
from scrapy.settings import Settings
from twisted.internet import reactor