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}'" | |
}, | |
] | |
}, |