horacio9a / cam4-anonymous

Python scripts for easy and anonymous cam4 recordings.
8 stars 4 forks source link

Update the version please #2

Open alicebadmore opened 3 years ago

alicebadmore commented 3 years ago

Hi horacio,it was by yesterday that cam4.anonymous dont work because cam4 has update the site.Can you do anything? vvvv

horacio9a commented 3 years ago

I try today and found that all working OK. I update only Requirements.txt with new versions of Python modules.

On Tue, Apr 20, 2021 at 2:00 PM alicebadmore @.***> wrote:

Hi horacio,it was by yesterday that cam4.anonymous dont work because cam4 has update the site.Can you do anything? [image: vvvv] https://user-images.githubusercontent.com/82880923/115392269-a94bde80-a1e0-11eb-8c7e-247dd4c4f6f9.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/horacio9a/cam4-anonymous/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECJB25FRR6AAV5M26S2Y2DTJVUE7ANCNFSM43IARO2Q .

alicebadmore commented 3 years ago

Ok later I'll try to see it becouse I was rested at an old version.. Maybe I need to upload python..

Thank you for answered me.

Il mar 20 apr 2021, 18:15 horacio9a @.***> ha scritto:

I try today and found that all working OK. I update only Requirements.txt with new versions of Python modules.

On Tue, Apr 20, 2021 at 2:00 PM alicebadmore @.***> wrote:

Hi horacio,it was by yesterday that cam4.anonymous dont work because cam4 has update the site.Can you do anything? [image: vvvv] < https://user-images.githubusercontent.com/82880923/115392269-a94bde80-a1e0-11eb-8c7e-247dd4c4f6f9.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/horacio9a/cam4-anonymous/issues/2, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AECJB25FRR6AAV5M26S2Y2DTJVUE7ANCNFSM43IARO2Q

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/horacio9a/cam4-anonymous/issues/2#issuecomment-823410949, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYKTGYLKN2ZZZWXUUNIFQ3TJWSBFANCNFSM43IARO2Q .

horacio9a commented 3 years ago

Here is version 1.1.0, although the old version worked well to my surprise.

alicebadmore commented 3 years ago

Thanks! Maybe I need to cheek my python version 🤔👍

Il mar 20 apr 2021, 20:55 horacio9a @.***> ha scritto:

Here is version 1.1.0, although the old version worked well to my surprise.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/horacio9a/cam4-anonymous/issues/2#issuecomment-823523201, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYKTG47THAAF5EERNY5VTLTJXE35ANCNFSM43IARO2Q .

jmberenguel commented 3 years ago

Same problem, I discovered your page today, I used another plugin. First version installed 2.7.16 the update with python-2.7.18.amd64,msi to Python 2.7.18 (v2.7.18:8d21aa21f2, Apr 20 2020, 13:25:05) [MSC v.1500 64 bit (AMD64)] on win32 My Windows is 10 Pro x64. First time using python. Thanks. Good job. Sorry for my poor English.

jmberenguel commented 3 years ago

Now, different error. Always page not found. Version 1.1.1 Captura

horacio9a commented 3 years ago

It's not clear to me why everyone uses 24/7 scripts. 90% of my time I only use the c4.py script, and the 24/7 scripts only when I go to bed, and I want to record my favorite model. Not found appears when the model name in the list is non-existent, as can be seen from the attached screenshot. You need to edit CONFIG.INI first to suit your situation. The old c4.bat should be replaced with a new one. 2021-04-22

horacio9a commented 3 years ago

@jmberenguel You must have C4_Model.txt in C:/-c4-py/! otherwise you need to edit c4.bat (Lines 33, 44, 66, 77, 99, 110, 132, 143)

alicebadmore commented 3 years ago

@horacio9a I update only Requirements.txt with new versions of Python

I dont remember how do it..later that im into the prompt,what should I write for update them? cam5

@jmberenguel Now, different error. Always page not found. Version

1.1.1

Same problem now

@horacio9a You need to edit CONFIG.INI first to suit your situation

and what we have to change? cam2

@horacio9a The old c4.bat should be replaced with a new one...You must have C4_Model.txt in

C:/-c4-py/!

do it

@horacio9a otherwise you need to edit c4.bat (Lines 33, 44, 66, 77, 99, 110, 132,

143) Where are those lines? cam4

horacio9a commented 3 years ago

What have I done wrong to God? Try entering your editor's options to show you the files and scripts properly. It would be best to install Notepad ++. You must have this files in c:-c4-py

Directory of c:-c4-py

21/04/2021 10:56 3,954 c4.bat 22/04/2021 06:51 8,210 c4.py 21/04/2021 20:01 3,920 c4ffr.py 21/04/2021 20:26 4,238 c4rr.py 21/04/2021 20:21 4,011 c4slr.py 21/04/2021 19:54 3,943 c4ytr.py 22/04/2021 06:29 415 C4_Model.txt 20/04/2021 19:27 280 config.ini 19/04/2019 23:47 2,633 README.md 22/04/2021 11:34 133 Requirements.txt

horacio9a commented 3 years ago

You must see c4.bat like this: 2021-04-22b

jmberenguel commented 3 years ago

HI, yesterday i try several options, in this moment i made the screenshot, but the model was online, with the order option same problem. The file C4_Model.txt inside C:/-c4-py, C4.bat copy and paste v1.1.1 Captura Maybe with my poor English i dont understand how works. I open c4.bat then try with option 0 but nothing and the model is online.

horacio9a commented 3 years ago

Se supone que este script debe encontrar el texto 'showState:' en el código fuente de la página del modelo cam4. Si no encuentra el texto 'showState:', el resultado es "https://www.cam4.com/page-not-found". Intente controlarlo manualmente. Por ejemplo: view-source:https://www.cam4.com/room_kittty ... isBroadcasting: true, showState: 'NORMAL', source: 'external_encoder' ...

jmberenguel commented 3 years ago

Gracias, Ya encontré mi problema. Sin la VPN me sale la versión de la pagina .es, con la VPN encendida me sale la versión .com y si encuentra showState: 'NORMAL' por eso todas me dan error. Thanks. I found my problem. Without VPN I get the version of the page .es, with VPN ON I get the version .com and find "showState: 'NORMAL'".

horacio9a commented 3 years ago

Me alegra que hayas resuelto el problema. No tengo una VPN, por lo que le pediría que grabe el código fuente de algún modelo. Intenté guardar el código fuente https://es.cam4.com/ o https://www.cam4.es/ pero siempre me cambia a https://www.cam4.com/

I'm glad you solved the problem. I don't have a VPN so I would ask you to record the source code for me from some model. I tried to save the source code https://es.cam4.com/ or https://www.cam4.es/ but always switch me to https://www.cam4.com/.

jmberenguel commented 3 years ago

Cuando escribo .com me manda al .es. No se si te ayuda el adjunto .zip. No se como grabar el codigo fuente.

When I write .com it sends me to .es. I don't know if the attachment .zip helps you. I don't know how to record the source code.

cm4.zip

horacio9a commented 3 years ago

Unfortunately this can't help me. Do the same, but first you need to open the source code page, preferably in Chrome, then in the open 'source code' page, right-click 'save as' and save the source code.

Desafortunadamente, esto no puede ayudarme. Haga lo mismo, pero primero debe abrir la página de código fuente, preferiblemente en Chrome, luego en la página abierta de 'código fuente', haga clic con el botón derecho en 'guardar como' y guarde el código fuente. view-source_https___www.cam4.com_kiara_thiagoxxx.zip

alicebadmore commented 3 years ago

@horacio9a What have I done wrong to God?

I know o_o''...sorry

@horacio9a You must have this files in c:-c4-py Directory of c:-c4-py 21/04/2021 10:56 3,954 c4.bat 22/04/2021 06:51 8,210 c4.py 21/04/2021 20:01 3,920 c4ffr.py 21/04/2021 20:26 4,238 c4rr.py 21/04/2021 20:21 4,011 c4slr.py 21/04/2021 19:54 3,943 c4ytr.py 22/04/2021 06:29 415 C4_Model.txt 20/04/2021 19:27 280 config.ini 19/04/2019 23:47 2,633 README.md 22/04/2021 11:34 133 Requirements.txt

I have it oraz

@horacio9a You must see c4.bat like this:

I have downloaded it,....now? ora

However It doesnt work yet. orazz

horacio9a commented 3 years ago

@alicebadmore

  1. Remove old files from c:-c4-py\ (c4r.py, c4rw.py, c4w.py and config.cfg)
  2. Edit config.ini for your situation
  3. Start cmd window and with command 'pip list' check versions of python's modules and update to versions in Requirements.txt
jmberenguel commented 3 years ago

Unfortunately this can't help me. Do the same, but first you need to open the source code page, preferably in Chrome, then in the open 'source code' page, right-click 'save as' and save the source code.

Desafortunadamente, esto no puede ayudarme. Haga lo mismo, pero primero debe abrir la página de código fuente, preferiblemente en Chrome, luego en la página abierta de 'código fuente', haga clic con el botón derecho en 'guardar como' y guarde el código fuente. view-source_https___www.cam4.com_kiara_thiagoxxx.zip

Una de las diferencias es que en el .com me sale la version que conocia de la pagina si puedo dar boton derecho encima del video. En la .es no me deja tiene que ser otro lado. cam4.zip

In the .com I get the version I knew of the page, I can right-click on the video. In the .es it doesn't let me do it on top of the video.

horacio9a commented 3 years ago

Gracias por su esfuerzo. No hay necesidad ni posibilidad de cambiar nada por eso. https://www.cam4.es/ no tiene datos como https://www.cam4.com/

Thank you for your effort. There is no need or possibility to change anything because of that. https://www.cam4.es/ has no data like https://www.cam4.com/

alicebadmore commented 3 years ago

@horacio9a

1.Remove old files from c:-c4-py\ (c4r.py, c4rw.py, c4w.py and config.cfg)

2.Edit config.ini for your situation

3.Start cmd window and with command 'pip list' check versions of python's modules

4.and update to versions in Requirements.txt

1=ok...done it 2= that is ? I think it is all right in my config.ini...no? zaz

3=done it za 4=How do I do this?What have I to write in cmd?

horacio9a commented 3 years ago

pip install --upgrade certifi pip install --upgrade chardet pip install --upgrade colorama pip install --upgrade configparser pip install --upgrade DateTime pip install --upgrade idna pip install --upgrade pytz pip install --upgrade requests pip install --upgrade setuptools pip install --upgrade urllib3 pip install --upgrade zope.interface

alicebadmore commented 3 years ago

@horacio9a

pip install --upgrade certifi pip install --upgrade chardet pip install --upgrade colorama pip install --upgrade configparser pip install --upgrade DateTime pip install --upgrade idna pip install --upgrade pytz pip install --upgrade requests pip install --upgrade setuptools pip install --upgrade urllib3 pip install --upgrade zope.interface

Done it...but always "page not found" zzz zzz

I dont know what im wronging

horacio9a commented 3 years ago

First check if the model is online. The model name in C4_Model.txt must be written all in lower case, just like on the URL.

Prima controlla se il modello è online. Il nome del modello in C4_Model.txt deve essere scritto tutto in minuscolo, proprio come nell'URL.

horacio9a commented 3 years ago

Also check the encoding type list

Controlla anche l'elenco dei tipi di codifica 2021-04-24

jmberenguel commented 3 years ago

Gracias por su esfuerzo. No hay necesidad ni posibilidad de cambiar nada por eso. https://www.cam4.es/ no tiene datos como https://www.cam4.com/

Thank you for your effort. There is no need or possibility to change anything because of that. https://www.cam4.es/ has no data like https://www.cam4.com/

El .es cambio esta semana y ningun plugin funciona, espero que no cambie .com. The .es change this week and any plugin works, I hope it doesn't change .com

alicebadmore commented 3 years ago

@horacio9a

First check if the model is online.

they are online

The model name in C4_Model.txt must be written all in lower case, just like on the URL.

yes i know this... zaz

Also check the encoding type list

IT is like yours.. za

horacio9a commented 3 years ago

Try the latest versions of * .py scripts. If that doesn't help save the sorce-code from the model (view-source_https___www.cam4.com_hassickli.html) and put it in zip or rar here.

Prova le ultime versioni degli script * .py. Se ciò non aiuta, salva il codice sorce dal modello (view-source_https___www.cam4.com_hassickli.html) e mettilo in zip o rar qui.

alicebadmore commented 3 years ago

Try the latest versions of * .py scripts

Have I to download the latest version of python?

save the sorce-code from the model (view-source_https___www.cam4.com_hassickli.html) and put it in zip or rar here.

Done it but while the model wasnt online. so I have done another file with another model that was online view-source_https___it.cam4.com_hassickli.zip view-source_https___it.cam4.com_hotyoungtr.zip

horacio9a commented 3 years ago

Can you access https://www.cam4.com/model_name ?

horacio9a commented 3 years ago

@alicebadmore Hai un problema simile a quello di @jmberenguel. È riuscito a risolvere il problema. Se non riesci a connetterti a https://www.cam4.com/ ma solo a https://it.cam4.com/ contatta il tuo ISP o cambialo

You have a similar problem as @jmberenguel. He managed to solve the problem. If you can't connect https://www.cam4.com/ but just https://it.cam4.com/ contact your ISP or change it.

alicebadmore commented 3 years ago

@horacio9a

Can you access https://www.cam4.com/model_name ?

Nope,...page not found zz

You have a similar problem as @jmberenguel.

mmm yes...Has he solved his problem with VPN program?

contact your ISP

and what have I to say to them? I cant record models on cam4 xD ??

@jmberenguel help me you too please or horacio kills me for all these messages

horacio9a commented 3 years ago

@alicebadmore

  1. Open an online model in Chrome
  2. Use Ctrl + U to open view-source: https: //it.cam4.com/model
  3. Use Ctrl + S to save that page in 'Webpage, HTML Only' format (Not 'Webpage, Complete')
  4. Put the saved 'html' file in the ZIP and upload it here.

Italian:

  1. Apri un modello in linea in Chrome
  2. Usa Ctrl + U per aprire view-source: https: //it.cam4.com/model
  3. Utilizzare Ctrl + S per salvare la pagina nel formato 'Solo HTML pagina web' (No 'Webpage, Complete'!)
  4. Metti il ​​file html salvato nello ZIP e caricalo qui.
horacio9a commented 3 years ago

BAD NEWS An hour ago, the look of the https://www.cam4.com page was changed. I am also currently getting a message 'Page Not Found'

alicebadmore commented 3 years ago

Oh 😱... And now?

Il lun 26 apr 2021, 17:11 horacio9a @.***> ha scritto:

BAD NEWS An hour ago, the look of the https://www.cam4.com page was changed. I am also currently getting a message 'Page Not Found'

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/horacio9a/cam4-anonymous/issues/2#issuecomment-826918336, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYKTGZLRAG2BNAIL5NKFQ3TKV7DNANCNFSM43IARO2Q .

jmberenguel commented 3 years ago

Now i use Video DownloadHelper in firefox https://www.downloadhelper.net maybe help you to get url for update the plugin.

Ahora uso Video DownloadHelper en firefox https://www.downloadhelper.net quizás te pueda ayudara obtener la dirección del video para actualizar el plugin.

testdev123456 commented 3 years ago

BAD NEWS An hour ago, the look of the https://www.cam4.com page was changed. I am also currently getting a message 'Page Not Found'

the HLS url is the same, so no problem there, but maybe they changed "videoPlayUrl" or "videoAppUrl" so the script can't find that string? i'm not sure how to check that

alicebadmore commented 3 years ago

@jmberenguel

Now i use Video DownloadHelper in firefox

thank you very much it works....but I need horacio's application becouse I need auto-record ...I am rarely near the pc

alicebadmore commented 3 years ago

Good morning,any news?

horacio9a commented 3 years ago

I hope in the next 10 days a new version

Spero nei prossimi 10 giorni una nuova versione

alicebadmore commented 3 years ago

ok thank you for your work horacio :)

testdev123456 commented 3 years ago

there's an update fixing another repository that works with cam4 links,

https://github.com/dobbelina/repository.dobbelina/commit/a89ccd94e3ccef64e363518207e165f6486e1d34

maybe you can find some inspiration there

alicebadmore commented 3 years ago

News? 🤞🤞

Il mar 4 mag 2021, 17:55 testdev123456 @.***> ha scritto:

there's an update fixing another repository that works with cam4 links,

@.*** https://github.com/dobbelina/repository.dobbelina/commit/a89ccd94e3ccef64e363518207e165f6486e1d34

maybe you can find some inspiration there

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/horacio9a/cam4-anonymous/issues/2#issuecomment-832051376, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYKTG5FAGRKH3JOSAK7J33TMAKHLANCNFSM43IARO2Q .

testdev123456 commented 3 years ago

found a new contribution to another repository that currently works:

https://github.com/beaston02/CAM4Recorder/issues/15#issuecomment-841542305

let's use it to update this one, though.

alicebadmore commented 3 years ago

And what do I must to do with ahsand97 string? 😅

Il lun 17 mag 2021, 01:15 testdev123456 @.***> ha scritto:

found a new contribution to another repository that currently works:

beaston02/CAM4Recorder#15 (comment) https://github.com/beaston02/CAM4Recorder/issues/15#issuecomment-841542305

let's use it to update this one, though.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/horacio9a/cam4-anonymous/issues/2#issuecomment-841892235, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYKTG2WQZPXTRUV5VVLDVLTOBGYZANCNFSM43IARO2Q .

horacio9a commented 3 years ago

@testdev123456 thanks for the info. I adapted the script from @ahsand97 for Streamlink program because Livestream was abandoned. Look https://github.com/horacio9a/CAM4Recorder

alicebadmore commented 3 years ago

@horacio9a/cam4-anonymous @.***> But how can I install it? I have put CAM4Recorder in the C: local disk than add model name in C4_wanted, but when I run CAM4Recorder.py I get this message.. Please help me Immagine

ahsand97 commented 3 years ago

@horacio9a/cam4-anonymous @.***> But how can I install it? I have put CAM4Recorder in the C: local disk than add model name in C4_wanted, but when I run CAM4Recorder.py I get this message.. Please help me Immagine

You need to install the dependencies in order to make it work, in the image python is telling you that there's no module named streamlink, to install it you can use python3 -m pip install streamlink or python -m pip install streamlink (depending on how is is registered python 3 in the PATH), if you face the same problem with other libraries just do the same.

alicebadmore commented 3 years ago

@ahsand97 It works...thank you very much for the help...and thank you to horacio as well.