mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-26 06:53:44 +00:00
Merge pull request #613 from JanMalte/update-schemes
Add Telegram and WhatsApp schemes
This commit is contained in:
commit
9abd7d84af
2 changed files with 28 additions and 4 deletions
|
|
@ -72,6 +72,7 @@ ignored_schemes_permanent = r"""
|
||||||
|dav # dav
|
|dav # dav
|
||||||
|dict # dictionary service protocol
|
|dict # dictionary service protocol
|
||||||
|dns # Domain Name System
|
|dns # Domain Name System
|
||||||
|
|dtn # DTNRG research and development
|
||||||
|example # example
|
|example # example
|
||||||
|geo # Geographic Locations
|
|geo # Geographic Locations
|
||||||
|go # go
|
|go # go
|
||||||
|
|
@ -82,6 +83,7 @@ ignored_schemes_permanent = r"""
|
||||||
|im # Instant Messaging
|
|im # Instant Messaging
|
||||||
|imap # internet message access protocol
|
|imap # internet message access protocol
|
||||||
|info # Information Assets with Identifiers in Public Namespaces. [RFC4452] (section 3) defines an "info" registry of public namespaces, which is maintained by NISO and can be accessed from [http://info-uri.info/].
|
|info # Information Assets with Identifiers in Public Namespaces. [RFC4452] (section 3) defines an "info" registry of public namespaces, which is maintained by NISO and can be accessed from [http://info-uri.info/].
|
||||||
|
|ipn # ipn
|
||||||
|ipp # Internet Printing Protocol
|
|ipp # Internet Printing Protocol
|
||||||
|ipps # Internet Printing Protocol over HTTPS
|
|ipps # Internet Printing Protocol over HTTPS
|
||||||
|iris # Internet Registry Information Service
|
|iris # Internet Registry Information Service
|
||||||
|
|
@ -156,6 +158,7 @@ ignored_schemes_provisional = r"""
|
||||||
|android # android
|
|android # android
|
||||||
|appdata # appdata
|
|appdata # appdata
|
||||||
|apt # apt
|
|apt # apt
|
||||||
|
|ar # ar
|
||||||
|ark # ark
|
|ark # ark
|
||||||
|attachment # attachment
|
|attachment # attachment
|
||||||
|aw # aw
|
|aw # aw
|
||||||
|
|
@ -175,7 +178,7 @@ ignored_schemes_provisional = r"""
|
||||||
|chrome\-extension # chrome-extension
|
|chrome\-extension # chrome-extension
|
||||||
|com\-eventbrite\-attendee # com-eventbrite-attendee
|
|com\-eventbrite\-attendee # com-eventbrite-attendee
|
||||||
|content # content
|
|content # content
|
||||||
|conti # conti
|
|content\-type # content-type
|
||||||
|cvs # cvs
|
|cvs # cvs
|
||||||
|dab # dab
|
|dab # dab
|
||||||
|dat # dat
|
|dat # dat
|
||||||
|
|
@ -190,15 +193,18 @@ ignored_schemes_provisional = r"""
|
||||||
|drm # drm
|
|drm # drm
|
||||||
|drop # drop
|
|drop # drop
|
||||||
|dtmi # dtmi
|
|dtmi # dtmi
|
||||||
|dtn # DTNRG research and development
|
|
||||||
|dvb # dvb
|
|dvb # dvb
|
||||||
|
|dvx # dvx
|
||||||
|dweb # dweb
|
|dweb # dweb
|
||||||
|ed2k # ed2k
|
|ed2k # ed2k
|
||||||
|elsi # elsi
|
|elsi # elsi
|
||||||
|
|embedded # embedded
|
||||||
|
|ens # ens
|
||||||
|ethereum # ethereum
|
|ethereum # ethereum
|
||||||
|facetime # facetime
|
|facetime # facetime
|
||||||
|feed # feed
|
|feed # feed
|
||||||
|feedready # feedready
|
|feedready # feedready
|
||||||
|
|fido # fido
|
||||||
|finger # finger
|
|finger # finger
|
||||||
|first\-run\-pen\-experience # first-run-pen-experience
|
|first\-run\-pen\-experience # first-run-pen-experience
|
||||||
|fish # fish
|
|fish # fish
|
||||||
|
|
@ -219,7 +225,6 @@ ignored_schemes_provisional = r"""
|
||||||
|icon # icon
|
|icon # icon
|
||||||
|iotdisco # iotdisco
|
|iotdisco # iotdisco
|
||||||
|ipfs # ipfs
|
|ipfs # ipfs
|
||||||
|ipn # ipn
|
|
||||||
|ipns # ipns
|
|ipns # ipns
|
||||||
|irc # irc
|
|irc # irc
|
||||||
|irc6 # irc6
|
|irc6 # irc6
|
||||||
|
|
@ -260,6 +265,7 @@ ignored_schemes_provisional = r"""
|
||||||
|ms\-inputapp # ms-inputapp
|
|ms\-inputapp # ms-inputapp
|
||||||
|ms\-lockscreencomponent\-config # ms-lockscreencomponent-config
|
|ms\-lockscreencomponent\-config # ms-lockscreencomponent-config
|
||||||
|ms\-media\-stream\-id # ms-media-stream-id
|
|ms\-media\-stream\-id # ms-media-stream-id
|
||||||
|
|ms\-meetnow # ms-meetnow
|
||||||
|ms\-mixedrealitycapture # ms-mixedrealitycapture
|
|ms\-mixedrealitycapture # ms-mixedrealitycapture
|
||||||
|ms\-mobileplans # ms-mobileplans
|
|ms\-mobileplans # ms-mobileplans
|
||||||
|ms\-officeapp # ms-officeapp
|
|ms\-officeapp # ms-officeapp
|
||||||
|
|
@ -295,6 +301,7 @@ ignored_schemes_provisional = r"""
|
||||||
|ms\-settings\-wifi # ms-settings-wifi
|
|ms\-settings\-wifi # ms-settings-wifi
|
||||||
|ms\-settings\-workplace # ms-settings-workplace
|
|ms\-settings\-workplace # ms-settings-workplace
|
||||||
|ms\-spd # ms-spd
|
|ms\-spd # ms-spd
|
||||||
|
|ms\-stickers # ms-stickers
|
||||||
|ms\-sttoverlay # ms-sttoverlay
|
|ms\-sttoverlay # ms-sttoverlay
|
||||||
|ms\-transit\-to # ms-transit-to
|
|ms\-transit\-to # ms-transit-to
|
||||||
|ms\-useractivityset # ms-useractivityset
|
|ms\-useractivityset # ms-useractivityset
|
||||||
|
|
@ -306,9 +313,11 @@ ignored_schemes_provisional = r"""
|
||||||
|ms\-word # ms-word
|
|ms\-word # ms-word
|
||||||
|msnim # msnim
|
|msnim # msnim
|
||||||
|mss # mss
|
|mss # mss
|
||||||
|
|mt # Matter protocol
|
||||||
|mumble # mumble
|
|mumble # mumble
|
||||||
|mvn # mvn
|
|mvn # mvn
|
||||||
|notes # notes
|
|notes # notes
|
||||||
|
|num # Namespace Utility Modules
|
||||||
|ocf # ocf
|
|ocf # ocf
|
||||||
|oid # oid
|
|oid # oid
|
||||||
|onenote # onenote
|
|onenote # onenote
|
||||||
|
|
@ -335,12 +344,17 @@ ignored_schemes_provisional = r"""
|
||||||
|rsync # rsync
|
|rsync # rsync
|
||||||
|rtmfp # rtmfp
|
|rtmfp # rtmfp
|
||||||
|rtmp # rtmp
|
|rtmp # rtmp
|
||||||
|
|sarif # sarif
|
||||||
|secondlife # query
|
|secondlife # query
|
||||||
|
|secret\-token # secret-token
|
||||||
|sftp # query
|
|sftp # query
|
||||||
|sgn # sgn
|
|sgn # sgn
|
||||||
|
|shc # shc
|
||||||
|simpleledger # simpleledger
|
|simpleledger # simpleledger
|
||||||
|
|simplex # simplex
|
||||||
|skype # skype
|
|skype # skype
|
||||||
|smb # smb
|
|smb # smb
|
||||||
|
|smp # smp
|
||||||
|smtp # smtp
|
|smtp # smtp
|
||||||
|soldat # soldat
|
|soldat # soldat
|
||||||
|spiffe # spiffe
|
|spiffe # spiffe
|
||||||
|
|
@ -351,21 +365,26 @@ ignored_schemes_provisional = r"""
|
||||||
|submit # submit
|
|submit # submit
|
||||||
|svn # svn
|
|svn # svn
|
||||||
|swh # swh
|
|swh # swh
|
||||||
|
|swid # swid
|
||||||
|
|swidpath # swidpath
|
||||||
|teamspeak # teamspeak
|
|teamspeak # teamspeak
|
||||||
|teliaeid # teliaeid
|
|teliaeid # teliaeid
|
||||||
|things # things
|
|things # things
|
||||||
|tool # tool
|
|tool # tool
|
||||||
|udp # udp
|
|udp # udp
|
||||||
|unreal # unreal
|
|unreal # unreal
|
||||||
|upt # upt
|
|
||||||
|ut2004 # ut2004
|
|ut2004 # ut2004
|
||||||
|
|uuid\-in\-package # uuid-in-package
|
||||||
|v\-event # v-event
|
|v\-event # v-event
|
||||||
|ventrilo # ventrilo
|
|ventrilo # ventrilo
|
||||||
|
|ves # ves
|
||||||
|view\-source # view-source
|
|view\-source # view-source
|
||||||
|vscode # vscode
|
|vscode # vscode
|
||||||
|vscode\-insiders # vscode-insiders
|
|vscode\-insiders # vscode-insiders
|
||||||
|vsls # vsls
|
|vsls # vsls
|
||||||
|
|wcr # wcr
|
||||||
|webcal # webcal
|
|webcal # webcal
|
||||||
|
|wifi # wifi
|
||||||
|wtai # wtai
|
|wtai # wtai
|
||||||
|wyciwyg # wyciwyg
|
|wyciwyg # wyciwyg
|
||||||
|xfire # xfire
|
|xfire # xfire
|
||||||
|
|
@ -393,6 +412,8 @@ ignored_schemes_other = r"""
|
||||||
|isbn # ISBN (int. book numbers)
|
|isbn # ISBN (int. book numbers)
|
||||||
|javascript # JavaScript
|
|javascript # JavaScript
|
||||||
|slack # Slack Technologies client
|
|slack # Slack Technologies client
|
||||||
|
|tg # Telegram
|
||||||
|
|whatsapp # WhatsApp
|
||||||
"""
|
"""
|
||||||
|
|
||||||
ignored_schemes = "^(%s%s%s%s)$" % (
|
ignored_schemes = "^(%s%s%s%s)$" % (
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@ iana_uri_schemes_other = {
|
||||||
"isbn": "ISBN (int. book numbers)",
|
"isbn": "ISBN (int. book numbers)",
|
||||||
"javascript": "JavaScript",
|
"javascript": "JavaScript",
|
||||||
"slack": "Slack Technologies client",
|
"slack": "Slack Technologies client",
|
||||||
|
"tg": "Telegram",
|
||||||
|
"whatsapp": "WhatsApp",
|
||||||
}
|
}
|
||||||
|
|
||||||
filter_uri_schemes_permanent = (
|
filter_uri_schemes_permanent = (
|
||||||
|
|
@ -101,6 +103,7 @@ def parse_csv_file(url, res):
|
||||||
first_row = False
|
first_row = False
|
||||||
else:
|
else:
|
||||||
scheme, template, description, status, urisupport, reference, notes = row
|
scheme, template, description, status, urisupport, reference, notes = row
|
||||||
|
scheme = scheme.replace(" (OBSOLETE)", "") # remove the HTTP historic experiments flag
|
||||||
if status not in res:
|
if status not in res:
|
||||||
res[status] = {}
|
res[status] = {}
|
||||||
res[status][scheme] = description
|
res[status][scheme] = description
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue