Skip to content

Instantly share code, notes, and snippets.

View dexeonify's full-sized avatar
🐢

dexeonify

🐢
  • 17:46 (UTC +08:00)
View GitHub Profile
@dexeonify
dexeonify / DownloadFB.md
Last active March 25, 2023 10:19
Download Facebook videos manually using DevTools, without using yt-dlp. Works best for login-protected videos.

Download Facebook videos - The Manual Way

The manual way, also the safest way for YOUR account. This method doesn't use external programs that utilises the cookies of your Facebook session, nor does it involve running some unreliable JS codes that is likely to break every time Facebook updates its backend or frontend code. Instead, it makes use of your browser's DevTools Network panel to intercept and extract video streams from the Facebook page.

Why not yt-dlp?

@dexeonify
dexeonify / search_docx.py
Last active July 25, 2022 14:28
A glorified script to recursively search a keyword through directories of Microsoft Word .docx files.
"""Search through Word documents and print the related matches."""
from colorama import init, Fore, Style
from pathlib import Path
import re
# This is a hacky workaround to enable autocompletion for python-docx
# See here: https://stackoverflow.com/q/42968369/16689935
from docx.document import Document
@dexeonify
dexeonify / FFmpeg Cheat Sheet.md
Last active May 30, 2024 07:39
Some basic and frequently-used FFmpeg command lines compiled into one long gist.