This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 最初に以下を実行 | |
videoIdList = [] | |
rowList = [] | |
setInterval(() => { | |
for (let videoElement of [...document.querySelectorAll("#video-title-link")]) { | |
// if (videoElement.innerText.indexOf("MY KEYWORD") == -1) continue; | |
const videoId = new URL(videoElement.href).searchParams.get("v") | |
const videoTitle = videoElement.title |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# License: CC0-1.0 | |
import os | |
import subprocess | |
from argparse import ArgumentParser | |
from pathlib import Path | |
from dotenv import load_dotenv | |
from pydantic import BaseModel | |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
タイトル,正規化ゲーム名,開始時間,終了時間,参加者,参加人数,ツイートID,ツイート時間,画像番号,画像URL,埋め込みコード | |
シルシランド 2021-11-15,Fall Guys,2021-11-15T20:00:00+09:00,2021-11-15T23:00:00+09:00,"シルシラ,如月ラギ,ニコライ・ボルコフ,じょかあき,いわし,カタタタキ多々鷹,ピスタチオ,凪尾,猫野和錆",9,1457657469707063299,2021-11-08T10:33:17.000Z,0,https://pbs.twimg.com/media/FDqjXIsaIAADKiz?format=jpg&name=large,"<blockquote class=""twitter-tweet""><p lang=""ja"" dir=""ltr"">一週間前になったので告知!!<br><br>11月15日にFALL GUYSをやりたい人を集めて一緒に遊びます!配信します!!(ニコニコ & youtube)<br><br>リスナー参加型となりますが、参加希望の方はルールを熟読してからご参加ください。 <a href=""https://t.co/GhlnS6H6Xu"">pic.twitter.com/GhlnS6H6Xu</a></p>— シルシラ@10/8トークイベント (@sirusira) <a href=""https://twitter.com/sirusira/status/1457657469707063299?ref_src=twsrc%5Etfw"">November 8, 2021</a></blockquote>" | |
シルシランド 2021-11-23,Fall Guys,2021-11-23T21:00:00+09:00,2021-11-23T23:00:00+09:00,"シルシラ,ニコライ・ボルコフ,魔球,カタタタキ多々鷹,妙楽,ピスタチオ,凪尾,ジロー",8,1462932425089044487,2021-11-22T23:54:04.000Z,0,https://pbs.twimg.com/media/FE1gCmhaMAESIOB?format=jpg&name=large,"<blockquote class=""twitter-tweet""><p lang |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
タイトル,正規化ゲーム名,開催日時,参加者,画像URL,ツイートID,画像番号,ツイート日時,埋め込みコード,ツイートユーザスクリーンネーム,ツイートユーザID | |
AMONG US,Among Us,2021-08-22T21:00:00+09:00,"chest,なりす,NANO,じょかあき,朝ご飯,キスミィ,ねこどん,しぃな,セーバー,戌田ハチ",https://pbs.twimg.com/media/E9QAkuyVgAMeW-E?format=jpg&name=large,1428914757143195656,0,2021-08-21T03:00:00.000Z,"<blockquote class=""twitter-tweet""><p lang=""ja"" dir=""ltr"">本日8/28(土)もなのそん開催します!!!<br>参加者の配信などよろしければご視聴よろしくお願いします! <a href=""https://t.co/uaBUlXMs1e"">pic.twitter.com/uaBUlXMs1e</a></p>— なりす (@rainbow7akane) <a href=""https://twitter.com/rainbow7akane/status/1428914757143195656?ref_src=twsrc%5Etfw"">August 21, 2021</a></blockquote>",rainbow7akane,1014075813119946753 | |
AMONG US,Among Us,2021-08-25T21:00:00+09:00,"朝ご飯,なりす,NANO,じょかあき,かがりめ,キスミィ,ねこどん,しぃな,セーバー,戌田ハチ",https://pbs.twimg.com/media/E9km4QZUcAMBfJc?format=jpg&name=large,1430217125294002176,0,2021-08-24T17:15:09.000Z,"<blockquote class=""twitter-tweet""><p lang=""ja"" dir=""ltr"">8/25(水)開催のなのそんのおしながきです!!<br>参加者の配信などよろしければご視聴よろしくお願いします! <a href=""https://t.co/D7kSn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix("https://live.nicovideo.jp/watch") { | |
.___broadcast-participation-area___3csnv { | |
display: none; | |
} | |
.___player-status-panel___2jsdt, .___player-status-panel___KQcKk { | |
visibility: hidden; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix("https://live.nicovideo.jp/watch") { | |
#watchPage | |
{ | |
background-color: #333; | |
color: #ccc; | |
} | |
.ga-ns-site-header, | |
[class*="___program-information-header-area___"], | |
[class*="___program-information-area___"], |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
タイトル,正規化ゲーム名,開催日時,参加者,画像URL,ツイートID,画像番号,ツイート日時,埋め込みコード,ツイートユーザスクリーンネーム,ツイートユーザID | |
AMONG US,Among Us,2021-01-03T18:00:00+09:00,"ふにちか,国際信州学院大学ボイロ部,如月ラギ,てち@ためにならない!!,豚野郎,シルシラ,いわし,魔球",https://pbs.twimg.com/media/Eqn_O8CVEAE0OJ5?format=jpg&name=large,1344886918492798976,0,2021-01-01T06:03:22.000Z,"<blockquote class=""twitter-tweet""><p lang=""ja"" dir=""ltr"">1月3日の18時頃にこのメンバーでAMONG US配信する予定です。よろしくお願いします。 <a href=""https://t.co/JCsOsELfkA"">pic.twitter.com/JCsOsELfkA</a></p>— ふにちか (@nitikapo) <a href=""https://twitter.com/nitikapo/status/1344886918492798976?ref_src=twsrc%5Etfw"">January 1, 2021</a></blockquote>",nitikapo,115055017 | |
AMONG US,Among Us,2021-01-26T20:00:00+09:00,"ふにちか,国際信州学院大学ボイロ部,如月ラギ,てち@ためにならない!!,ビームマンP,豚野郎,シルシラ,いわし,魔球,たらちゃん",https://pbs.twimg.com/media/Eso24EmU0AAb5en?format=jpg&name=large,1353955231487324160,0,2021-01-26T06:37:37.000Z,"<blockquote class=""twitter-tweet""><p lang=""ja"" dir=""ltr"">今日AMONG USをこのメンバーでやる予定です。<br>多分20~22時くらい。<br>よろしくお願いします <a href=""https://t.co/huoiuuticH"">pic.tw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import csv | |
query = ''' | |
mutation CreateSensorValue( | |
$objects: [SensorValue_insert_input!]! | |
) { | |
insert_SensorValue(objects: $objects) { | |
affected_rows | |
returning { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def decode_utf8_bytestream(byte_stream): | |
i = 0 | |
decoded_strings = [] | |
decoded_string = b'' | |
while i < len(byte_stream): | |
byte = byte_stream[i] | |
if byte == 0x00: | |
decoded_strings.append(decoded_string) | |
decoded_string = b'' | |
i += 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def decode_utf8_bytestream(byte_stream): | |
i = 0 | |
decoded_strings = [] | |
while i < len(byte_stream): | |
byte = byte_stream[i] | |
if byte <= 0x7F: | |
decoded_strings.append(byte_stream[i:i+1]) | |
i += 1 | |
elif byte <= 0xDF: | |
decoded_strings.append(byte_stream[i:i+2]) |