Not sure what the MacOS one is, but i use flameshot and im happy with it
promitheas
When did you get it? Ive had the page open and refresh it quite often, but it shows it as out of stock for me. I also put my email to get a notification when its back in stock. Im looking for the 256GB storage one btw
Oh, Im sorry. If I'm honest I completely forgot. Here it is:
You will need ffmpeg installed, and I did write it for Linux, so I'm not sure if there are differences for windows. Worst case you need to slightly modify it to work on windows.
#!/usr/bin/env python3
import requests
import os
import subprocess
from urllib.parse import urljoin
import sys
def download_video_chunks(base_url, output_file):
"""
Downloads video chunks from the given base URL and merges them into a single file.
:param base_url: The URL to the playlist or base directory containing the video chunks.
:param output_file: The name of the output video file (e.g., "output.mp4").
"""
try:
# Get the playlist file (e.g., .m3u8 or .ts index file)
print(f"Fetching playlist or video chunk URLs from: {base_url}", flush=True)
response = requests.get(base_url, timeout=10)
response.raise_for_status()
# Parse the playlist to get the chunk URLs
lines = response.text.splitlines()
chunk_urls = [urljoin(base_url, line) for line in lines if line and not line.startswith("#")]
if not chunk_urls:
print("No video chunks found in the provided URL.", flush=True)
return
# Create a directory for storing chunks
os.makedirs("video_chunks", exist_ok=True)
# Download each chunk
chunk_files = []
for idx, chunk_url in enumerate(chunk_urls):
chunk_file = os.path.join("video_chunks", f"chunk_{idx:04d}.ts")
print(f"Downloading {chunk_url}...", flush=True)
with requests.get(chunk_url, stream=True) as chunk_response:
chunk_response.raise_for_status()
with open(chunk_file, "wb") as f:
for chunk in chunk_response.iter_content(chunk_size=1024):
f.write(chunk)
chunk_files.append(chunk_file)
# Merge the chunks into a single file using ffmpeg
print("Merging chunks...", flush=True)
with open("file_list.txt", "w") as f:
for chunk_file in chunk_files:
f.write(f"file '{chunk_file}'\n")
subprocess.run(["ffmpeg", "-f", "concat", "-safe", "0", "-i", "file_list.txt", "-c", "copy", output_file], check=True)
print(f"Video saved as {output_file}", flush=True)
except requests.exceptions.RequestException as e:
print(f"An error occurred while downloading: {e}", flush=True)
except subprocess.CalledProcessError as e:
print(f"An error occurred while merging: {e}", flush=True)
finally:
# Clean up temporary files
if os.path.exists("file_list.txt"):
os.remove("file_list.txt")
for chunk_file in chunk_files:
os.remove(chunk_file)
# if os.path.exists("video_chunks"):
# os.rmdir("video_chunks")
if __name__ == "__main__":
base_url = input("Enter the URL of the video playlist or base directory: ")
output_file = input("Enter the output video file name (e.g., output.mp4): ")
print(f"Starting download process for playlist: {base_url}", flush=True)
download_video_chunks(base_url, output_file)
If you guys can recommend a fair and open pastebin alternative for me I will upload it there as well and edit this with the link
I ended up doing that yea. I Also put mine in the bspwm config just in case.
When a page is so bloated with crap, certain elements load much after certain others, leading me to believe the page has loaded, and to click on something jus as somthing else loads and pushes it down/to the side.
I think i wrote a short python script to do this on another site. Let me get home and see if i can help you out
Will test and edit. Ill leave my automatic upvote on, so first person to read this please downvote this comment
Edit: no no guys, stop upvoting 🤣
Edit 2: sorry OP, guess i cant test out my theory, which was that if you leave your upvote, but get downvoted once, it shows up as 0
Then people call me insane for not wanting to make it past 40
Ohh i see what you meant now.
I do like their kission and how repairable their phone is, so if im going to get a new one i want it to be that one. As for the OS, if down the road i do decide to move away from /e/os i can look into repacing it down the road
I can see your point about the price, but I dont need to change the OS on it. They sell the Fairphone 5 both with googled android, as well as a version with /e/os.
I think it might actually be just turning the display off now that you mention it. Here are the xfce4-power-manager settings I have for the display:
This would make the most sense to me. Or create a separate interface for mods of communities, where they can know if someone on their block list has posted and can choose to view it.