Skip to content

Instantly share code, notes, and snippets.

@Twoure
Twoure / ServiceInfo.plist
Created April 12, 2016 02:43
LetMeWatchThis.bundle ServiceInfo Patch
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>URL</key>
<dict>
<key>LMWT</key>
<dict>
<key>URLPatterns</key>
<array>
@Twoure
Twoure / pms_hatton33_json_example_01.py
Last active March 18, 2016 23:52
Example info for hatton33 question Developing Channel using JSON. Source https://forums.plex.tv/discussion/211265/developing-channel-using-json
#!/usr/bin/env python
"""
Example info for @hatton33 question 'Developing Channel using JSON'
https://forums.plex.tv/discussion/211265/developing-channel-using-json
"""
import requests
import json
@Twoure
Twoure / kissanime_openload_video_files.py
Last active November 12, 2016 11:42
kissanime, kisscartoon, and kissasian host some videos on Openload. This code returns the raw mp4 file.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Kissanime.to, Kisscartoon.me, and Kissasian.com have some videos hosted on OpenLoad.
I took the original openload.py from here:
https://github.com/Zanzibar82/plugin.video.streamondemand/blob/fca8e2a7cf0548233cb484e53c1694f17ac4ede3/servers/openload.py
and modified it for use with Plex Media Server (PMS).
My modified openload.py for PMS can be found here:
https://github.com/Twoure/KissNetwork.bundle/blob/v1.1.6/Contents/Services/Shared%20Code/openload.pys
@Twoure
Twoure / kissanime_onedrive_video_files.py
Last active May 27, 2021 07:25
kissanime, kisscartoon, and kissasian have videos hosted on OneDrive. This code returns the raw mp4 file.
#!/usr/bin/env python
"""
Kissanime.to, Kisscartoon.me, and Kissasian.com have some videos hosted on OneDrive.
The URL's below are examples taken from there pages.
You will have to first parse the kiss site video page to get the embeded OneDrive URL.
"""
from lxml import html
import re
import json