ThisTakou/UserAgent-list

★ 99⑂ 0

Automated User-Agent database for 100+ browsers on 100+ operating systems. Updated every 5 minutes via GitHub Actions.

About ThisTakou/UserAgent-list

ThisTakou/UserAgent-list is an open-source project on GitHub, mainly written in Python. Automated User-Agent database for 100+ browsers on 100+ operating systems. Updated every 5 minutes via GitHub Actions. It currently holds 99 stars and 0 forks with 0 open issues, and was last pushed on 2026-09-20 (repository created 2026-09-18).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #98 with 0 new stars today.

GitHub Repository Details

Repository ThisTakou/UserAgent-list · default branch main · size 161871 KB · watchers 1 · source: GitHub REST API and repository README

README

UserAgent List

Автоматически обновляемая база User-Agent строк для 100+ браузеров на 100+ операционных системах.

English | Русский | Deutsch | Español | 中文 | 日本語 | Français | Italiano | Português | 한국어

---

English

Overview

This repository automatically generates and maintains a database of User-Agent strings. The generator runs on GitHub Actions and updates every 5 minutes. All User-Agent strings are grouped by operating system and browser, organized into timestamped snapshot folders.

Features

Repository Structure

data/
├── 2025-01-15_14-05-03/
│   ├── Windows-11/
│   │   ├── Chrome/
│   │   │   ├── agents_1.txt
│   │   │   ├── agents_2.txt
│   │   │   └── agents_3.txt
│   │   ├── Firefox/
│   │   └── Edge/
│   ├── macOS-15-Sequoia/
│   ├── iOS-17/
│   ├── Android-14/
│   └── ...
├── 2025-01-15_14-10-47/
├── ...
└── ALL/
    ├── Windows-11/
    │   └── Chrome/
    │       └── agents.txt
    ├── all_user_agents.txt
    └── stats.txt

File Format

Each .txt file contains User-Agent strings, one per line. No headers, no JSON, no extra content.

Example from data/2025-01-15_14-05-03/Windows-11/Chrome/agents_1.txt:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.4521.78 Safari/537.36

Usage

Direct raw URL:

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Python example:

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

Bash example:

curl -s https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt | shuf -n 1

Statistics

Current statistics are available in data/ALL/stats.txt:

Last updated: 2025-01-15T14:05:03+00:00
Total unique UA: 152340
Added this run: 4218
OS/Browser combos: 1840

Configuration

All settings are located at the top of scripts/generate.py:

| Parameter | Default | Description | |-----------|---------|-------------| | KEEP_HOURS | 24 | How many hours of snapshots to keep | | BATCH_SIZE | 1 | User-Agents per file | | ALL_SEPARATE_FILES | True | Split ALL/ by OS and browser |

Update interval is defined in .github/workflows/generate.yml:

schedule:
  • cron: '/5 *'

How It Works

1. GitHub Actions triggers the workflow every 5 minutes 2. Python script generates User-Agent strings based on weighted popularity 3. Snapshot is saved to data/YYYY-MM-DD_HH-MM-SS/ 4. Cumulative database in data/ALL/ is updated with new unique entries 5. Snapshots older than KEEP_HOURS are deleted 6. Changes are committed and pushed automatically

License

MIT

Back to top

---

Русский

Обзор

Репозиторий автоматически генерирует и поддерживает базу User-Agent строк. Генератор работает через GitHub Actions и обновляется каждые 5 минут. Все строки сгруппированы по операционной системе и браузеру, разложены по папкам с временными метками.

Возможности

Структура репозитория

data/
├── 2025-01-15_14-05-03/
│   ├── Windows-11/
│   │   ├── Chrome/
│   │   │   ├── agents_1.txt
│   │   │   ├── agents_2.txt
│   │   │   └── agents_3.txt
│   │   ├── Firefox/
│   │   └── Edge/
│   ├── macOS-15-Sequoia/
│   ├── iOS-17/
│   ├── Android-14/
│   └── ...
├── 2025-01-15_14-10-47/
├── ...
└── ALL/
    ├── Windows-11/
    │   └── Chrome/
    │       └── agents.txt
    ├── all_user_agents.txt
    └── stats.txt

Формат файлов

Каждый .txt файл содержит строки User-Agent, по одной на строку. Ни заголовков, ни JSON, ни лишнего содержимого.

Пример из data/2025-01-15_14-05-03/Windows-11/Chrome/agents_1.txt:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.4521.78 Safari/537.36

Использование

Прямая ссылка на raw файл:

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Пример на Python:

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

Пример на Bash:

curl -s https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt | shuf -n 1

Статистика

Актуальная статистика доступна в data/ALL/stats.txt:

Last updated: 2025-01-15T14:05:03+00:00
Total unique UA: 152340
Added this run: 4218
OS/Browser combos: 1840

Настройка

Все параметры находятся в начале scripts/generate.py:

| Параметр | По умолчанию | Описание | |----------|--------------|----------| | KEEP_HOURS | 24 | Сколько часов хранить снапшоты | | BATCH_SIZE | 1 | User-Agent в одном файле | | ALL_SEPARATE_FILES | True | Разбивать ALL/ по ОС и браузеру |

Интервал обновления задаётся в .github/workflows/generate.yml:

schedule:
  • cron: '/5 *'

Как работает

1. GitHub Actions запускает workflow каждые 5 минут 2. Python скрипт генерирует User-Agent строки на основе взвешенной популярности 3. Снапшот сохраняется в data/YYYY-MM-DD_HH-MM-SS/ 4. Накопительная база в data/ALL/ пополняется новыми уникальными записями 5. Снапшоты старше KEEP_HOURS удаляются 6. Изменения коммитятся и пушатся автоматически

Лицензия

MIT

Наверх

---

Deutsch

Überblick

Dieses Repository generiert und pflegt automatisch eine Datenbank mit User-Agent-Zeichenfolgen. Der Generator läuft über GitHub Actions und aktualisiert alle 5 Minuten. Alle User-Agent-Zeichenfolgen sind nach Betriebssystem und Browser gruppiert und in Zeitstempelordnern organisiert.

Funktionen

Verwendung

Direkte Raw-URL:

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Python-Beispiel:

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

Lizenz

MIT

Zurück nach oben

---

Español

Descripción general

Este repositorio genera y mantiene automáticamente una base de datos de cadenas User-Agent. El generador se ejecuta en GitHub Actions y se actualiza cada 5 minutos. Todas las cadenas User-Agent están agrupadas por sistema operativo y navegador, organizadas en carpetas con marca de tiempo.

Características

Uso

URL raw directa:

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Ejemplo en Python:

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

Licencia

MIT

Volver arriba

---

中文

概述

本仓库自动生成并维护一个 User-Agent 字符串数据库。生成器通过 GitHub Actions 运行,每 5 分钟更新一次。所有 User-Agent 字符串按操作系统和浏览器分组,存放在带时间戳的文件夹中。

功能

使用方法

直接使用 raw URL:

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Python 示例:

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

许可证

MIT

返回顶部

---

日本語

概要

このリポジトリは、User-Agent 文字列のデータベースを自動的に生成および維持します。ジェネレーターは GitHub Actions 上で実行され、5 分ごとに更新されます。すべての User-Agent 文字列は、オペレーティングシステムとブラウザごとにグループ化され、タイムスタンプ付きのフォルダーに整理されています。

機能

使用法

直接 raw URL:

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Python の例:

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

ライセンス

MIT

トップへ戻る

---

Français

Aperçu

Ce dépôt génère et maintient automatiquement une base de données de chaînes User-Agent. Le générateur s'exécute sur GitHub Actions et se met à jour toutes les 5 minutes. Toutes les chaînes User-Agent sont regroupées par système d'exploitation et par navigateur, organisées dans des dossiers horodatés.

Fonctionnalités

Utilisation

URL raw directe :

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Exemple Python :

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

Licence

MIT

Retour en haut

---

Italiano

Panoramica

Questo repository genera e mantiene automaticamente un database di stringhe User-Agent. Il generatore viene eseguito su GitHub Actions e si aggiorna ogni 5 minuti. Tutte le stringhe User-Agent sono raggruppate per sistema operativo e browser, organizzate in cartelle con timestamp.

Caratteristiche

Utilizzo

URL raw diretto:

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Esempio Python:

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

Licenza

MIT

Torna in alto

---

Português

Visão geral

Este repositório gera e mantém automaticamente um banco de dados de strings User-Agent. O gerador é executado no GitHub Actions e é atualizado a cada 5 minutos. Todas as strings User-Agent são agrupadas por sistema operacional e navegador, organizadas em pastas com timestamp.

Recursos

Uso

URL raw direta:

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Exemplo em Python:

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

Licença

MIT

Voltar ao topo

---

한국어

개요

이 저장소는 User-Agent 문자열 데이터베이스를 자동으로 생성하고 유지합니다. 생성기는 GitHub Actions에서 실행되며 5분마다 업데이트됩니다. 모든 User-Agent 문자열은 운영 체제와 브라우저별로 그룹화되어 타임스탬프 폴더에 정리됩니다.

기능

사용법

직접 raw URL:

https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt

Python 예제:

import urllib.request
import random

URL = "https://raw.githubusercontent.com/ThisTakou/UserAgent-list/main/data/ALL/all_user_agents.txt"

with urllib.request.urlopen(URL) as response: agents = [line.strip() for line in response if line.strip()]

print(random.choice(agents))

라이선스

MIT

맨 위로

---

License

MIT License

Copyright (c) 2026 ThisTakou

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

GitHub Stars & Activity

99Stars
0Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars99
Forks0
Open issues0
Primary languagePython
License-
Stars gained today0
Created2026-09-18
Last pushed2026-09-20

Trending History

Daily boardrank #98 · ▲ 0 stars

Related AI Projects

1

NousResearch / hermes-agent

Python★ 247,389⑂ 52,019
2

Significant-Gravitas / AutoGPT

Python★ 187,458⑂ 46,008▲ 30 stars
3

docling-project / docling

Python★ 67,388⑂ 4,855▲ 629 stars
4

openai / openai-python

Python★ 31,657⑂ 5,834▲ 13 stars
5

harvard-edge / cs249r_book

Python★ 28,378⑂ 3,589▲ 31 stars
6

browser-use / browser-harness

Python★ 17,835⑂ 1,747▲ 86 stars
7

FareedKhan-dev / train-llm-from-scratch

Python★ 10,129⑂ 1,408▲ 196 stars
8

zhouxiaoka / autoclip

Python★ 7,814⑂ 1,524▲ 325 stars

More AI Rankings