https://github.com/mjmirza/Download-VSIX-From-Visual-Studio-Market-Place
This script allows you to download VS Code extensions as VSIX files directly from the Visual Studio Marketplace.
https://github.com/mjmirza/Download-VSIX-From-Visual-Studio-Market-Place
visualstudiocode vsix
Last synced: 10 months ago
JSON representation
This script allows you to download VS Code extensions as VSIX files directly from the Visual Studio Marketplace.
- Host: GitHub
- URL: https://github.com/mjmirza/Download-VSIX-From-Visual-Studio-Market-Place
- Owner: mjmirza
- Created: 2024-08-12T15:42:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-21T19:29:58.000Z (about 1 year ago)
- Last Synced: 2025-08-04T07:51:33.879Z (10 months ago)
- Topics: visualstudiocode, vsix
- Language: HTML
- Homepage: https://mjmirza.github.io/Download-VSIX-From-Visual-Studio-Market-Place/
- Size: 31.3 KB
- Stars: 260
- Watchers: 4
- Forks: 24
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Download VS Code Extensions as VSIX
This script allows you to download VS Code extensions as VSIX files directly from the Visual Studio Marketplace.
## How to Use
1. **Open the VS Code extension page on the Visual Studio Marketplace.**
2. **Open the browser's developer console.** (Usually by pressing F12)
3. **Paste the script into the console and press Enter.**
4. **A "Download VSIX" button will appear on the page.** Click it to download the VSIX file.
Or
1. **Copy all content from "downloadVSIX-V2.bookmark"**
2. **Create a bookmark in your browser (tested with Chrome) and paste the content as the URL.**
3. **Open the VS Code extension page on the Visual Studio Marketplace.**
4. **Click on the bookmark and the VSIX file will be downloaded automatically.**
## Script Breakdown
The script consists of two parts:
**1. First Script:**
- Extracts the extension's version, publisher, and unique identifier from the page.
- Constructs the download URL for the VSIX file.
- Creates a download button that triggers the download process.
- Handles progress updates and error messages during the download.
**2. Second Script:**
- Extracts the extension's name, publisher, and version from the page.
- Constructs the URL for the VSIX file using a different API endpoint.
- Opens the VSIX file in a new browser tab.
## Notes
- This script is designed to work with the current structure of the Visual Studio Marketplace. If the website changes, the script may need to be updated.
- The script assumes that the element with the class "vscode-moreinformation" exists on the page. If it doesn't, you'll need to adjust the selector or use a different approach to find the correct parent element.
- The second script is also assumed to be working correctly. If you encounter issues with it, you'll need to debug it separately.
## Author
Mirza Iqbal
## License
This script is released under the MIT License.