Skip to content

MasterStreet423/Download-Adobe-Fonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Adobe Fonts Scraper

This project allows users to download fonts from Adobe Fonts by providing either a direct Adobe Fonts URL or a font name. The tool scrapes the Adobe Fonts page, collects the font URLs, renames the fonts based on the names listed on the page, and downloads them in .otf format.

Table of Contents

Installation

Clone the repository or download the script files:

git clone https://github.com/masterstreet423/adobe-font-scraper.git

Install the required dependencies using pip:

pip install -r requirements.txt

Install Playwright and set up the browser environment:

playwright install

How It Works

The script operates by:

Taking user input for either an Adobe Fonts URL or the name of the font. Navigating to the Adobe Fonts page. Scraping the font URLs and font names from the page. Downloading the fonts in .otf format. Modifying font metadata to match the font names listed on Adobe Fonts. Storing the fonts locally in a fonts/ directory.

Usage

Run the script:

python adobe_font_scraper.py

Input either the direct URL of the Adobe Fonts page or the font name.

The script will scrape and download all font variations (weights, styles) for that font family.

The downloaded fonts will be saved in the fonts/ directory with proper subfolders for each font.

Example

Input:

Escriba la URL o el nombre de la fuente de Adobe: proxima nova

Output:

Descargando: Proxima Nova Regular
Descargando: Proxima Nova Bold
Descargando: Proxima Nova Light
...

The fonts are stored in the following structure:

fonts/
├── Proxima Nova
│   ├── Proxima Nova Regular.otf
│   ├── Proxima Nova Bold.otf
│   └── Proxima Nova Light.otf

File Structure

adobe_font_scraper/
├── adobe_font_scraper.py       # Main script
├── requirements.txt            # Python package dependencies
└── fonts/                      # Directory where downloaded fonts will be stored

Requirements

  • Python 3.7+
  • Playwright: Used to automate browser interaction.
  • FontTools: Used for manipulating fonts.
  • Requests: For making HTTP requests to download fonts.

Install the requirements with:

pip install -r requirements.txt

Important Notes

  • Adobe Fonts URL Format: Ensure that the URL provided is a valid Adobe Fonts URL. If a font name is used, ensure it is accurate as it is converted into a URL format to match Adobe Fonts conventions.

  • Font Modification: The script modifies the font name metadata fields (Full Name, Family Name, PostScript Name) before saving the .otf files.

  • Fonts Limit: If the font family has multiple variations, the script will attempt to download all available variations.

Contributions

Feel free to fork this repository and make pull requests if you'd like to contribute improvements or fixes. If you encounter any issues, please open an issue on the GitHub repository.

About

free get all adobe fonts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages