Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NikolaiT/se-scraper
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: kederrac/se-scraper
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 6 commits
  • 2 files changed
  • 1 contributor

Commits on Mar 15, 2019

  1. Update index.js

    kederrac authored Mar 15, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f9219b6 View commit details
  2. Update package.json

    kederrac authored Mar 15, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d5ff5f7 View commit details
  3. Update package.json

    kederrac authored Mar 15, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b2ac59f View commit details
  4. Update package.json

    kederrac authored Mar 15, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b88320a View commit details
  5. Update package.json

    kederrac authored Mar 15, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8fe5e2e View commit details
  6. Update package.json

    kederrac authored Mar 15, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    aea9d00 View commit details
Showing with 5 additions and 2 deletions.
  1. +2 −2 index.js
  2. +3 −0 package.json
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ const handler = require('./src/node_scraper.js');
var fs = require('fs');
var os = require("os");

exports.scrape = async function(user_config, callback) {
exports.scrape = function(user_config, callback) {

// options for scraping
let config = {
@@ -85,7 +85,7 @@ exports.scrape = async function(user_config, callback) {
}
}

await handler.handler(config, undefined, callback );
handler.handler(config, undefined, callback );
};

function read_keywords_from_file(fname) {
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -20,6 +20,9 @@
"url": "https://github.com/NikolaiT/se-scraper"
},
"license": "ISC",
"directories":{
"src": "src"
},
"dependencies": {
"chai": "^4.2.0",
"cheerio": "^1.0.0-rc.2",