Q: Egy videó adatait hogyan lehet leszedni JSON formában?
A: Példa:
#!/usr/bin/env bash
URL="https://www.youtube.com/watch?v=YbZZ9X-jFog"
id;stream;homepage | |
slay;http://relay3.slayradio.org:8000/;http://www.slayradio.org/home.php | |
bestfm;http://stream.webthings.hu:8000/fm95-x-128.mp3;http://www.bestfm.hu | |
retro;https://icast.connectmedia.hu/5001/live.mp3 | |
kossuth;http://stream002.radio.hu/mr1.mp3;http://www.mr1-kossuth.hu/ | |
szkr;http://radio.szentkoronaradio.com:8048/;http://radio.szentkoronaradio.com | |
maria;http://www.mariaradio.hu:8000/mr;http://www.mariaradio.hu |
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
int *tomb = NULL; | |
int n = 0; // elemszám | |
while (1) | |
{ |
#!/usr/bin/env python3 | |
""" | |
using the yt-dlp package | |
""" | |
import json | |
from pprint import pprint | |
import yt_dlp |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
#!/usr/bin/env python3 | |
import time | |
import pyautogui | |
# where to click on the screen | |
X, Y = 1079, 481 | |
# How many times to click. |
# add these to the end of your ~/.bashrc | |
alias m="micro" | |
# if you want to use micro everywhere | |
export EDITOR="micro" | |
export VIEWER=$EDITOR | |
export VISUAL=$EDITOR | |
export GIT_EDITOR=$EDITOR |
My `settings.json` for VS Code | |
------------------------------ | |
{ | |
"files.eol": "\n", | |
"workbench.colorTheme": "Visual Studio Light", | |
"workbench.colorCustomizations": { | |
"editor.background": "#fcf5e3", | |
"sideBar.background": "#f9edcd", | |
// "editor.lineHighlightBackground": "#e9f2fa", | |
"editor.lineHighlightBackground": "#efefef", |
"emeraldwalk.runonsave": { | |
"commands": [ | |
{ | |
"match": "\\.c$", | |
"isAsync": false, | |
"cmd": "cd '${fileDirname}' && clang-format --style=Microsoft -i '${fileBasename}'" | |
}, | |
] | |
}, |