update test results

- twitter:

    Don't test the whole kwdict, only the actual content, since the
    keyword hash changes whenever that user changes his display name.

- khinsider:

    Download host changed
This commit is contained in:
Mike Fährmann
2020-02-22 02:59:56 +01:00
parent cc5079c844
commit 19ae6f3fc4
2 changed files with 8 additions and 4 deletions

View File

@@ -23,9 +23,9 @@ class KhinsiderSoundtrackExtractor(AsynchronousMixin, Extractor):
root = "https://downloads.khinsider.com"
test = (("https://downloads.khinsider.com"
"/game-soundtracks/album/horizon-riders-wii"), {
"pattern": r"https?://\d+\.\d+\.\d+\.\d+/ost/horizon-riders-wii/[^/]+"
r"/Horizon%20Riders%20Wii%20-%20Full%20Soundtrack\.mp3",
"keyword": "b6bf8444ad77307c03212e91e73b1563338bd079",
"pattern": r"https?://vgmdownloads.com/soundtracks/horizon-riders-wii/"
r"[^/]+/Horizon%20Riders%20Wii%20-%20Full%20Soundtrack.mp3",
"keyword": "5b2c35cce638c326cab2a4f7a79f245d008d62ff",
})
def __init__(self, match):

View File

@@ -356,7 +356,11 @@ class TwitterTweetExtractor(TwitterExtractor):
# content with emoji, newlines, hashtags (#338)
("https://twitter.com/yumi_san0112/status/1151144618936823808", {
"options": (("content", True),),
"keyword": "0b7a3d05607b480c1412dfd85f8606478313e7bf",
"keyword": {"content": (
"re:晴、お誕生日おめでとう🎉!\n実は下の名前が同じなので結構親近感ある"
"アイドルです✨\n今年の晴ちゃんめちゃくちゃ可愛い路線攻めてるから、そろ"
"そろまたかっこいい晴が見たいですねw\n#結城晴生誕祭2019\n#結城晴生誕祭"
)},
}),
# Reply to another tweet (#403)
("https://twitter.com/tyson_hesse/status/1103767554424598528", {