Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A Python library used to scrape data from Redfin.com using the unofficial Stringray API.
A scalable Python library that leverages Redfin's unofficial Stringray API to quickly scrape real estate data.
A database of zip codes is required to search for City, State values
It is strongly recommended to download this free version in .csv format
Parameters for the RedfinScraper class can be controlled using an optional
config.json
file
pip3 install -U redfin-scraper
from redfin_scraper import RedfinScraper
scraper = RedfinScraper()
scraper.setup(zip_database_path:str, multiprocessing:bool=False)
zip_database_path: Binary path to the zip_code_database.csv
multiprocessing: Allow for multiprocessing
scraper.scrape(city_states:list[str]=None, zip_codes:list[str], sold:bool=False, sale_period:str=None, lat_tuner:float=1.5, lon_tuner:float=1.5)
city_states: List of strings representing US cities formatted as "City, State"
zip_codes: List of strings representing US zip codes
sold: Select whether to scrape for-sale data (default) or sold data
sale_period: Must be selected whenever sold is True (1mo, 3mo, 6mo, 1yr, 3yr, 5yr)
lat_tuner: Represents # of standard deviations beyond the local latitude average that a zip code may exist within
lon_tuner: Represents # of standard deviations beyond the local longitude average that a zip code may exist within
scraper.get_data(id:str)
id: IDs are indexed at 1 and increase in the format "D00#"
Multiprocessing can result in the consumption of all available CPU resources for an extended period of time
Unethical use of this library can result in Redfin taking disciplinary action against your IP address
Requests for large amounts of data (# of zip codes > 2,000) should be split into separate requests
The
package.log
file can be used to investigate unexpected results
FAQs
A Python library used to scrape data from Redfin.com using the unofficial Stringray API.
We found that redfin-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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.