File: parser.py

package info (click to toggle)
python-tld 0.13-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,008 kB
  • sloc: python: 12,972; sh: 119; makefile: 19
file content (17 lines) | stat: -rw-r--r-- 379 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os

from tld.utils import BaseMozillaTLDSourceParser

__all__ = ("CustomMozillaTLDSourceParser",)


class CustomMozillaTLDSourceParser(BaseMozillaTLDSourceParser):
    uid = "custom_mozilla"
    local_path = os.path.join(
        "..",
        "..",
        "examples",
        "custom_tld_names_source",
        "res",
        "effective_tld_names_custom.dat.txt",
    )