Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Board games data scraping and processing from BoardGameGeek and more!
Scraping data about board games from the web. View the data live at Recommend.Games! Install via
pip install board-game-scraper
bgg
)dbpedia
)luding
)spielen
)wikidata
)Requires Python 3. Make sure Pipenv is installed and create the virtual environment:
python3 -m pip install --upgrade pipenv
pipenv install --dev
pipenv shell
Run a spider like so:
JOBDIR="jobs/${SPIDER}/$(date --utc +'%Y-%m-%dT%H-%M-%S')"
scrapy crawl "${SPIDER}" \
--output 'feeds/%(name)s/%(time)s/%(class)s.csv' \
--set "JOBDIR=${JOBDIR}"
where $SPIDER
is one of the IDs above.
Run all the spiders with the run_scrapers.sh
script. Get a
list of the running scrapers' PIDs with the processes.sh
script. You can close all the running scrapers via
./processes.sh stop
and resume them later.
You can run scrapy check
to perform contract tests for all spiders, or
scrapy check $SPIDER
to test one particular spider. If tests fails,
there most likely has been some change on the website and the spider needs
updating.
If you are interested in using any of the datasets produced by this scraper, take a look at the BoardGameGeek guild. A subset of the data can also be found on Kaggle.
FAQs
Board games data scraping and processing from BoardGameGeek and more!
We found that board-game-scraper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.