Changeset 39606
- Timestamp:
- 01/02/17 01:08:31 (7 years ago)
- Location:
- titan/mediathek/localhoster
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/cloudflare.py
r39520 r39606 14 14 15 15 def get_answer_code(self, web_url): 16 headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Maxthon/4.4.7.3000 Chrome/30.0.1599.101 Safari/537.36'}16 headers = {'User-Agent': common.FF_USER_AGENT} 17 17 html = self.net.http_GET(web_url, headers=headers).content 18 18 #html = self.request(web_url, cookie_file=/mnt/network/cookies, cloudflare=True) -
titan/mediathek/localhoster/hoster.sh
r39580 r39606 188 188 vivo) vivo $INPUT;; 189 189 vidto) vidto $INPUT;; 190 goldesel) goldesel$INPUT;;190 goldesel) cloudflare $INPUT;; 191 191 movie4k) cloudflare $INPUT;; 192 192 streamcloud1) streamcloud $INPUT;; -
titan/mediathek/localhoster/vidzi.py
r39525 r39606 29 29 30 30 def get_media_url(self, host, media_id): 31 returnhelpers.get_media_url(self.get_url(host, media_id))31 print helpers.get_media_url(self.get_url(host, media_id)) 32 32 33 33 def get_url(self, host, media_id):
Note: See TracChangeset
for help on using the changeset viewer.