Expand description
Reading the address out of link files: Windows .url shortcuts (an INI
file), the link format in Eagle’s list. A macOS .webloc is a plain
item, as in Eagle.
Functions§
- is_
link_ file - Whether an extension names a link file (
url, any case). - parse
- Parses link file contents, picking the format from the extension.
- parse_
internet_ shortcut - The address of a Windows
.urlfile: the firstURL=key in the[InternetShortcut]section. Section names and keys ignore case, and keys in other sections are skipped. - read
- Reads the address from a link file by its extension. Files over 1 MiB,
unreadable files and files without an address give
None.