
Research
/Security News
npm Malware Campaign Uses Adspect Cloaking to Deliver Malicious Redirects
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.
solidscraper
Advanced tools
Easy to use JQuery-Like API for Web Scraping/Crawling. It also supports Cookies and custom User Agents. Solidscraper is compatible with Python 2 and 3.
Getting all url of all links:
.. code:: python
import solidscraper as ss
doc = ss.load("https://www.example.com/the/path")
print(doc.select("a").getAttribute("href"))
Getting all url of all links inside
.. code:: python
import solidscraper as ss
doc = ss.load("https://www.example.com/the/path")
print(doc.select("div #links").then("a").getAttribute("href"))
Getting the text of all elements inside
whose class are ‘info’:
.. code:: python
import solidscraper as ss
doc = ss.load("https://www.example.com/the/path")
print(doc.select("p .info").then("span").text())
Note: these examples use the python 3 print function, in case you
want to run them with python 2, either replace the print() function
with the python 2 print statement or add the following import line
as the first statement of your code:
from __future__ import print_function.
The examples folder above_ contains two fully functional examples:
one to download tweets by hashtags and another to download complete
users timeline (tweets and images). Both scripts were completely built
using solidscraper.
.. _folder above: https://github.com/sergioburdisso/solidscraper/tree/master/examples/
FAQs
This package lets your script scrape web sites. JQuery-Like API.
We found that solidscraper 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.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads