
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
MVSer stands for Movie and Music Tracker. It is a Python package designed to help users search for music featured in movies, explore detailed movie and music information, and get recommendations. Using public APIs like TMDB and Spotify, MVSer offers a seamless experience that combines movie and music data tailored to the user's preferences.
MVSer stands for Movie and Music Tracker. It is a Python package designed to help users search for music featured in movies, explore detailed movie and music information, and get recommendations. Using public APIs like TMDB and Spotify, MVSer offers a seamless experience that combines movie and music data tailored to the user's preferences.
There are two sub-packages in this package, movie
and music_user
respectively.
Sub-package, movie
is used to search movie information from TMDB public API, and parse API response based on user inputs and preferences. This sub-package also recommands the most trendy movies.
This module inherits functionality from the Movie and Music modules.
Belongs to movie.py
sub-package.
Main functions:
return_movie_results
: Call Movie
class to search for movie information based on user inputs and preferences. Return a dictionary of results.return_music_results
: Call Music
class to search related music information based on user inputs and preferences. Return a list of results.return_recom
: Call recommandation functions from both classes. Return a tuple of lists for movie and music recommendations..display_movie_details
: Display movie results.display_music_details
: Display music results.decoration
: Display a pretty layout.start
: Start function for MVSer package.Belongs to movie.py
sub-package.
Main functions:
movie_search
: Fetch movies and extract useful information.movie_recom
: Fetch recommendations and extract useful information.fetch_movie
: Call TMDB API to get movie information.fetch_collection
: Call TMDB to get movie collection information.fetch_recom
: Call TMDB API to get movie recommendations.movie_parse_response
: Extract information from API response and wrap up results into a dictionary.test_api_connection
: Test API connection.Sub-package, music_user
is used to search related music information from Spoify public API and parse API response based on user inputs and preferences. This sub-package also recommends same artist's music.
Belongs to music_user.py
sub-package.
Main functions:
music_search
: Fetch music albums and extract useful information.fetch_music
: Call Spotify API to get raw album data.music_recom
: Fetch recommendations and extract useful information.fetch_recommendations
: Call Spotify API to get recommended albums.music_parse_response
: Extract information from the API response and wrap up results into a dictionary.Belongs to music_user.py
sub-package.
Main functions:
user_input
: Collect user preferences interactively through prompts.check_inputs
: Validate user preferences for correctness.display_preference
: Display the current user preferences.To access TMDB API and Spotify API, available API keys are necessary. You can register to TMDB here to get your own API Key, and here to register a client ID and client secret for Spoify API.
[!TIP] We have attached our test API keys on Canvas for testing purposes. Please use them if you don't want to create your own. :)
# In console.
export TMDB_API_KEY=<your_TMDB_API_token>
export SPOTIFY_CLIENT_ID=<your_spotipy_client_id>
export SPOTIFY_CLIENT_SECRET=<your_spotify_client_secert>
from movie.mvs import MVS
mvser = MVS()
mvser.start()
[!NOTE] Please see test.ipynb as exmaple to call MVSer package.
FAQs
MVSer stands for Movie and Music Tracker. It is a Python package designed to help users search for music featured in movies, explore detailed movie and music information, and get recommendations. Using public APIs like TMDB and Spotify, MVSer offers a seamless experience that combines movie and music data tailored to the user's preferences.
We found that MVSer 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.