1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 04:02:32 +01:00

[nitter] remove 'nitter.lacontrevoie.fr'

"Fermeture de Nitter / Closing down Nitter"
This commit is contained in:
Mike Fährmann 2024-01-19 19:34:16 +01:00
parent a1c1e80f67
commit b0a441f1e3
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
4 changed files with 35 additions and 83 deletions

View File

@ -1293,12 +1293,6 @@ Consider all listed sites to potentially be NSFW.
<td>Media Files, Replies, Search Results, Tweets</td>
<td></td>
</tr>
<tr>
<td>Nitter.lacontrevoie.fr</td>
<td>https://nitter.lacontrevoie.fr/</td>
<td>Media Files, Replies, Search Results, Tweets</td>
<td></td>
</tr>
<tr>
<td>Nitter.1d4.us</td>
<td>https://nitter.1d4.us/</td>

View File

@ -235,10 +235,6 @@ BASE_PATTERN = NitterExtractor.update({
"root": "https://nitter.net",
"pattern": r"nitter\.net",
},
"nitter.lacontrevoie.fr": {
"root": "https://nitter.lacontrevoie.fr",
"pattern": r"nitter\.lacontrevoie\.fr",
},
"nitter.1d4.us": {
"root": "https://nitter.1d4.us",
"pattern": r"nitter\.1d4\.us",

View File

@ -57,4 +57,39 @@ Youll be able to receive four Galarian form Pokémon with Hidden Abilities, p
"filename": r"re:EaK.{12}",
},
{
"#url" : "https://nitter.1d4.us/i/status/894001459754180609",
"#comment" : "4 images",
"#category": ("nitter", "nitter.1d4.us", "tweet"),
"#class" : nitter.NitterTweetExtractor,
"#sha1_url": "bc6a91792ff6ec3ab9046f4f27299cc0e7ca7ce3",
},
{
"#url" : "https://nitter.1d4.us/i/status/1065692031626829824",
"#comment" : "video",
"#category": ("nitter", "nitter.1d4.us", "tweet"),
"#class" : nitter.NitterTweetExtractor,
"#pattern" : r"ytdl:https://nitter\.1d4\.us/video/enc/F00083CDE8D74/aHR0cHM6Ly92aWRlby50d2ltZy5jb20vZXh0X3R3X3ZpZGVvLzEwNjU2OTE4Njg0MzkwMDcyMzIvcHUvcGwvbnY4aFVRQzFSMFNqaHpjWi5tM3U4P3RhZz01",
"extension": "mp4",
"filename" : "nv8hUQC1R0SjhzcZ",
},
{
"#url" : "https://nitter.1d4.us/i/status/1460044411165888515",
"#comment" : "deleted quote tweet (#2225)",
"#category": ("nitter", "nitter.1d4.us", "tweet"),
"#class" : nitter.NitterTweetExtractor,
"#count" : 0,
},
{
"#url" : "https://nitter.1d4.us/i/status/1486373748911575046",
"#comment" : "'Misleading' content",
"#category": ("nitter", "nitter.1d4.us", "tweet"),
"#class" : nitter.NitterTweetExtractor,
"#count" : 4,
},
)

View File

@ -1,73 +0,0 @@
# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
from gallery_dl.extractor import nitter
__tests__ = (
{
"#url" : "https://nitter.lacontrevoie.fr/supernaturepics",
"#category": ("nitter", "nitter.lacontrevoie.fr", "tweets"),
"#class" : nitter.NitterTweetsExtractor,
"#pattern" : r"https://nitter\.lacontrevoie\.fr/pic/orig/media%2FCGMNYZvW0AIVoom\.jpg",
"#range" : "1",
"#sha1_url": "54f4b55f2099dcc248f3fb7bfacf1349e08d8e2d",
},
{
"#url" : "https://nitter.lacontrevoie.fr/supernaturepics/with_replies",
"#category": ("nitter", "nitter.lacontrevoie.fr", "replies"),
"#class" : nitter.NitterRepliesExtractor,
},
{
"#url" : "https://nitter.lacontrevoie.fr/supernaturepics/media",
"#category": ("nitter", "nitter.lacontrevoie.fr", "media"),
"#class" : nitter.NitterMediaExtractor,
},
{
"#url" : "https://nitter.lacontrevoie.fr/supernaturepics/search",
"#category": ("nitter", "nitter.lacontrevoie.fr", "search"),
"#class" : nitter.NitterSearchExtractor,
},
{
"#url" : "https://nitter.lacontrevoie.fr/i/status/894001459754180609",
"#comment" : "4 images",
"#category": ("nitter", "nitter.lacontrevoie.fr", "tweet"),
"#class" : nitter.NitterTweetExtractor,
"#sha1_url": "9c51b3a4a1114535eb9b168bba97ad95db0d59ff",
},
{
"#url" : "https://nitter.lacontrevoie.fr/i/status/1065692031626829824",
"#comment" : "video",
"#category": ("nitter", "nitter.lacontrevoie.fr", "tweet"),
"#class" : nitter.NitterTweetExtractor,
"#pattern" : r"ytdl:https://nitter\.lacontrevoie\.fr/video/[0-9A-F]{10,}/https%3A%2F%2Fvideo.twimg.com%2Fext_tw_video%2F1065691868439007232%2Fpu%2Fpl%2Fnv8hUQC1R0SjhzcZ.m3u8%3Ftag%3D5",
"extension": "mp4",
"filename" : "nv8hUQC1R0SjhzcZ",
},
{
"#url" : "https://nitter.lacontrevoie.fr/i/status/1460044411165888515",
"#comment" : "deleted quote tweet (#2225)",
"#category": ("nitter", "nitter.lacontrevoie.fr", "tweet"),
"#class" : nitter.NitterTweetExtractor,
"#count" : 0,
},
{
"#url" : "https://nitter.lacontrevoie.fr/i/status/1486373748911575046",
"#comment" : "'Misleading' content",
"#category": ("nitter", "nitter.lacontrevoie.fr", "tweet"),
"#class" : nitter.NitterTweetExtractor,
"#count" : 4,
},
)