HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/env/lib/python3.10/site-packages/faker/providers/internet/th_TH/__init__.py
from collections import OrderedDict

from .. import Provider as InternetProvider


class Provider(InternetProvider):
    free_email_domains = (
        "hotmail.com",
        "gmail.com",
        "outlook.com",
        "yahoo.com",
        "ymail.com",
        "kon.in.th",
        "icloud.com",
        "protonmail.com",
    )

    tlds = OrderedDict(
        (
            ("in.th", 100),
            ("co.th", 80),
            ("go.th", 40),
            ("or.th", 40),
            ("ac.th", 20),
            ("net.th", 10),
            ("mi.th", 5),
            ("co", 10),
            ("net", 20),
            ("com", 150),
            ("org", 50),
        ),
    )