Skip to content

Instantly share code, notes, and snippets.

View tstolpestad's full-sized avatar

Tonje tstolpestad

  • Egde
  • Grimstad, Norway
View GitHub Profile
import requests
import hashlib
import time
import sys
import re
from datetime import date
from bs4 import BeautifulSoup
# bargeScrape.py
# Craftyviking
// includes bindings for fetching/fetched
var PaginatedCollection = Backbone.Collection.extend({
initialize: function() {
_.bindAll(this, 'parse', 'url', 'pageInfo', 'nextPage', 'previousPage');
typeof(options) != 'undefined' || (options = {});
this.page = 1;
typeof(this.perPage) != 'undefined' || (this.perPage = 10);
},
fetch: function(options) {