
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
github.com/Gohelraj/youtube-search-api
To make an API to fetch latest videos sorted in reverse chronological order of their publishing date-time from YouTube for a given tag/search query in a paginated response.
How to make tea?
should match for the search query tea how
$ git clone https://github.com/Gohelraj/youtube-search-api
$ cd youtube-search-api
.env.example
file to new .env
file:$ cp .env.example .env
.env
file, Add one or multiple(comma separated) YouTube data v3 API Keys in GOOGLE_API_KEYS
variable.$ docker-compose up
If permission error occurs, run command as root:
$ sudo docker-compose up
8087
$ chmod +x ./docker_reset.sh
$ sudo ./docker_reset.sh`
Note: Be careful while using it as it will kill and remove all other containers as well and thus might lead to loss of your work.
1) git clone https://github.com/Gohelraj/youtube-search-api
2) cd youtube-search-api
.env.example
file to new .env
file:cp .env.example .env
.env
file and update below configurations:
GOOGLE_API_KEYS
variable.DATABASE_URL
variable.dbmate migrate
to migrate database schema.go mod vendor
to install all the dependencies.go run cmd/main.go
to run the programme.GET /videos
- Returns the latest videos sorted by descending order of published datetime in a paginated response.
Param | Type | Default | Description | Sample |
---|---|---|---|---|
limit | integer, optional | 50 | Number of records to return, Must be =< 200 | limit=100 |
offset | integer, optional | 0 | Used to identify the starting point to return rows from | offset=100 |
POST /videos/search
- Returns the videos matching with the search keyword.
Param | Type | Default | Description | Sample |
---|---|---|---|---|
searchString | string, required | Search string to match in video's title and description | {"searchString":"how to make tea"} |
The exact API usage can be inspected via the api.postman_collection.json
postman collection.
FAQs
Unknown package
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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.