Skip to content

Instantly share code, notes, and snippets.

@Revan654
Revan654 / MediaInfoDLL3.py
Created November 5, 2018 02:05
VCSi with MediaInfo Support & Tweaks
#cython: language_level=3
## Copyright (c) MediaArea.net SARL. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license that can
# be found in the License.html file in the root of the source tree.
##
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# Public DLL interface implementation
@Revan654
Revan654 / FileDownload.py
Created October 14, 2018 17:51
Downloads a Single File From a Shell to Your Windows Desktop
import re
from bs4 import BeautifulSoup
import requests
from requests_toolbelt.downloadutils import stream
from pathlib import Path
from requests import get
from requests.exceptions import RequestException
from contextlib import closing
Home_Dir = Path ('C:/')
@Revan654
Revan654 / VCSWindow.py
Created October 14, 2018 17:44
VCS Python Windows to Linux For Bash
import os
import re
import sys
Path_to_Video = "{}".format(sys.argv[1])
Path_to_VCS = "{}".format(sys.argv[2])
def LinuxPath(PathWay):
regex = r"[A-Z]:\\|\\"
subst = "/"