alzamer2 / Crunchyroll-XML-Decoder

GNU General Public License v2.0
1 stars 2 forks source link

Proxy #8

Open lgx41700 opened 7 years ago

lgx41700 commented 7 years ago

Any release that you try to download from the USA Proxy. Does not download. Proxy on: off on

I also tried to use external variables (HideMy.name VPN), while turning it off in the XML-decoder. But.. Don't work. off+HideMy.name

Dokman commented 7 years ago

[SETTINGS]

Set this to the preferred quality. Possible values are: "android" (hard-subbed), "360p", "480p", "720p", "1080p", or "highest" for highest available.

Note that any quality higher than 360p still requires premium, unless it's available that way for free (some first episodes).

We're not miracle workers.

video_quality = highest

Set this to the desired subtitle language. If the subtitles aren't available in that language, it reverts to the second language option (below).

Available languages: English, Espanol, Espanol_Espana, Francais, Portugues, Turkce, Italiano, Arabic, Deutsch

language = Espanol

If the first language isn't available, what language would you like as a backup? Only if then they aren't found, then it goes to English as default

language2 = English

Set this if you want to use --forced-track rather than --default-track for subtitle

forcesubtitle = False

Set this if you want to use a US session ID

forceusa = True

Set this if you want to Localize the cookies (this option is under testing and may generate some problem and it willnot work with -forceusa- option)

localizecookies = False

Set this if you only want to mux one subtitle only (this so make easy for some devices like TVs to play subtitle)

onlymainsub=False

this option to increase the Number of the connection

connectionn=12

alzamer2 commented 7 years ago

try to change this line video_quality = highest to video_quality = 1080p

Dokman commented 7 years ago

@alzamer2 i made it but it was the same

alzamer2 commented 7 years ago

hmm that weird

Dokman commented 7 years ago

@alzamer2 i know but i am fucked up... T_T

cog45898 commented 6 years ago

Hi, Video don't download + function "USA Proxy" don't work

Booting up...

Now Downloading - Chiornyi klever Episode 13 - To, chto uvidel Korol'-charodei (2)
[..                            ] %6 (9/145) 14MB/C.Size @ 6.68Mb/s  Exception in thread Thread-2:
Traceback (most recent call last):
  File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner
    self.run()
  File "C:\Python27\lib\threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "crunchy-xml-decoder\hls.py", line 194, in down_thread
    download(video, output, seg_url[i-1], i, connection_n)
  File "crunchy-xml-decoder\hls.py", line 153, in download
    raw = resumable_fetch(Url, seg_n, len(video.segments))
  File "crunchy-xml-decoder\hls.py", line 24, in __init__
    self._restart()
  File "crunchy-xml-decoder\hls.py", line 60, in _restart
    req = requests.get(self.uri, stream=True, timeout = 180)
  File "C:\Python27\lib\site-packages\requests\api.py", line 72, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Python27\lib\site-packages\requests\api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Python27\lib\site-packages\requests\sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python27\lib\site-packages\requests\sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "C:\Python27\lib\site-packages\requests\adapters.py", line 506, in send
    raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host='a-vrv.akamaized.net', port=443): Max retries exceeded with url: /evs/663edc4fbc32d29e9b5a0a08a4b1b7f0/assets/fedbaa24e43cd49e4b034375a5370dee_3375220.mp4/seg-10-v1-a1.ts?t=st=1515377565~exp=1515463965~acl=/evs/663edc4fbc32d29e9b5a0a08a4b1b7f0/assets/fedbaa24e43cd49e4b034375a5370dee_3375220.mp4/*~hmac=463a03e81307b02892b24f4efe3ada5d065674e8d4134f50d27e4ce8d1cb7f89 (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))
alzamer2 commented 6 years ago

not sure but are you using proxy in your pc? the error you get happen when yo use proxy that dont support https links or did you use hls file to download non Crunchyroll video? if so try reducing # of connection, maybe the site limit the number of connection for each ip

can you give me the link you used to yest it out

On Mon, Jan 8, 2018 at 4:21 AM, cog45898 notifications@github.com wrote:

Hi, Video don't download + function "USA Proxy" don't work

`Booting up...

Now Downloading - Chiornyi klever Episode 13 - To, chto uvidel Korol'-charodei (2) [.. ] %6 (9/145) 14MB/C.Size @ 6.68Mb/s Exception in thread Thread-2: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner self.run() File "C:\Python27\lib\threading.py", line 763, in run self.target(*self.args, self.__kwargs) File "crunchy-xml-decoder\hls.py", line 194, in down_thread download(video, output, seg_url[i-1], i, connection_n) File "crunchy-xml-decoder\hls.py", line 153, in download raw = resumable_fetch(Url, seg_n, len(video.segments)) File "crunchy-xml-decoder\hls.py", line 24, in init self._restart() File "crunchy-xml-decoder\hls.py", line 60, in _restart req = requests.get(self.uri, stream=True, timeout = 180) File "C:\Python27\lib\site-packages\requests\api.py", line 72, in get return request('get', url, params=params, kwargs) File "C:\Python27\lib\site-packages\requests\api.py", line 58, in request return session.request(method=method, url=url, kwargs) File "C:\Python27\lib\site-packages\requests\sessions.py", line 508, in request resp = self.send(prep, send_kwargs) File "C:\Python27\lib\site-packages\requests\sessions.py", line 618, in send r = adapter.send(request, *kwargs) File "C:\Python27\lib\site-packages\requests\adapters.py", line 506, in send raise SSLError(e, request=request) SSLError: HTTPSConnectionPool(host='a-vrv.akamaized.net', port=443): Max retries exceeded with url: /evs/663edc4fbc32d29e9b5a0a08a4b1b7f0/assets/ fedbaa24e43cd49e4b034375a5370dee_3375220.mp4/seg-10-v1-a1. ts?t=st=1515377565exp=1515463965acl=/evs/663edc4fbc32d29e9b5a0a08a4b1b7 f0/assets/fedbaa24e43cd49e4b034375a5370dee_3375220.mp4/~hmac= 463a03e81307b02892b24f4efe3ada5d065674e8d4134f50d27e4ce8d1cb7f89 (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))`

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alzamer2/Crunchyroll-XML-Decoder/issues/8#issuecomment-355873545, or mute the thread https://github.com/notifications/unsubscribe-auth/AESOrpqGC8tG8q2P2pJRs__LqAFD9Mtyks5tIXvBgaJpZM4NoU8x .

-- Eng. Muhammed S AL-Zamer alzamer2@gmail.com +962-0777-383809

cog45898 commented 6 years ago

not sure but are you using proxy in your pc?

No, vpn/proxy off

Anime need USA proxy: https://youtu.be/BRF31Dcpi6E (the next second closes CMD)

Don't need USA proxy USA ON USA OFF

if so try reducing # of connection, maybe the site limit the number of connection for each ip

It did not help

alzamer2 commented 6 years ago

try to reduce # of connect 10 and try again

On Mon, Jan 8, 2018 at 6:02 AM, cog45898 notifications@github.com wrote:

not sure but are you using proxy in your pc? No, vpn/proxy off

Anime need USA proxy: https://youtu.be/BRF31Dcpi6E

Don't need USA proxy USA ON https://github.com/alzamer2/Crunchyroll-XML-Decoder/files/1610580/USA.ON.txt USA OFF https://github.com/alzamer2/Crunchyroll-XML-Decoder/files/1610585/USA.OFF.txt

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alzamer2/Crunchyroll-XML-Decoder/issues/8#issuecomment-355880845, or mute the thread https://github.com/notifications/unsubscribe-auth/AESOro4YIh4nv61GeVSEoirHbMf3agtYks5tIZM_gaJpZM4NoU8x .

-- Eng. Muhammed S AL-Zamer alzamer2@gmail.com +962-0777-383809

cog45898 commented 6 years ago

try to reduce # of connect 10 and try again

But, reduced to 1 connection and this did not help.

It did not help

connect 10 5 times repeated with 10 connections

cog45898 commented 6 years ago

I do not know why, but today 10 out of 10 times downloaded without problems

But, USA Proxy don't work Separately subtitles download Anime - nope

PS: The use of other USA proxy servers does't help

alzamer2 commented 6 years ago

say try this code https://github.com/alzamer2/Crunchyroll-XML-Decoder/tree/code_overhaul/crunchy-xml-decoder

On Tue, Jan 9, 2018 at 7:47 PM, cog45898 notifications@github.com wrote:

I do not know why, but today 10 out of 10 times downloaded without problems

But, USA Proxy don't work Separately subtitles download Anime - nope https://youtu.be/8y3PcxL6i9Y

PS: The use of other USA proxy servers does't help https://youtu.be/3uMd5Rs2uzw

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alzamer2/Crunchyroll-XML-Decoder/issues/8#issuecomment-356360449, or mute the thread https://github.com/notifications/unsubscribe-auth/AESOrhyVc5_Qa_zVyumNsf2r5caJBonmks5tI6YbgaJpZM4NoU8x .

-- Eng. Muhammed S AL-Zamer alzamer2@gmail.com +962-0777-383809