This file contains 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 base64, requests, logging | |
logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s: %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p') | |
# This solution was inspired by an existing script https://gist.github.com/openroomxyz/f32021d077d1be5235ceb1a716d1e37a | |
# This script includes further documentation and explanation than the solution by @openroomxyz | |
### -------- VALUES TO BE MODIFIED (start) -------- ### | |
URL = "https://mydomain.com" |
This file contains 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 os | |
import glob | |
import logging | |
path_to_mov_files_to_be_renamed = '/path/to/your/movFiles' | |
logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s: %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p') | |
def rename_mov_files_to_mp4(path): |