Giter Site home page Giter Site logo

fnzeta / camsoda-recorder Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 5.0 21 KB

Automatically checks every 20 seconds (set in config file) to see which camsoda models are online and records any models which are in the "wanted" list when they are in a public shows.

License: MIT License

Python 96.12% Dockerfile 1.14% Shell 2.73%
cam cam-recording camsoda live-cam livestream python recording

camsoda-recorder's People

Contributors

fnzeta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

camsoda-recorder's Issues

Unable to start the Program

I have this very helpful program running for a very long time, but now only a error at starting.

checking for online models
Traceback (most recent call last):
File "main.py", line 23, in
if should_record_model(conf.settings).check(model):
File "/home/ronald/Camsoda-Recorder/classes/camsoda.py", line 201, in check
if model['tpl'][1] in Wanted(self._settings).wanted_models:
KeyError: 1

Camsoda any Change on her Website?
Any Chance for Help?
Kind Regards
Powerbock

Windows 10 with Python3
Ubuntu 20 with Python3

Recording problem (ssl certificate verify failed) with some camsoda models while others work well

Hi, I wonder whether this is a general problem or whether there's anything I could do about.

The scripts work well for me (thanks!), generally. However, it's not possible to record some of the camsoda channels. I haven't found out what the difference between these channels and the working channels could be.

For example, this one works:

camsoda.com/tatjanatillers

And these 3 don't work for me:
camsoda.com/brianna-jilll
camsoda.com/meelissa
camsoda.com/jenniferburrill

In browser I can open them without problems. With this script I receive the following lines in the shell:

�[32mstarted recording �[39m
https://edge3-ord.camsoda.com/cam/mp4:cam_high/meelissa-flu-ingest2-bog_h264_aac_480p/playlist.m3u8?token=eyJpdiI6IkpJZGJGcHZwSlJZaHltenhhTXpJZ2c9PSIsInZhbHVlIjoiaFRPMzBuYkpuXC9uWmt1Mm90RGFPM1E9PSIsIm1hYyI6IjI3ZjgzYmU3ZWE0ZjRkMmY2Nzk3ZjNhNDgwZGYwMWE2OGZiY2U3ZWE0NzhhNjU2ZDFjZWUxNjdiMWUxNjI2NTEifQ==
finished check, next check in 20 seconds
currently recording 3 models: ['brianna-jilll', 'meelissa', 'jenniferburrill']
https://edge12-ord.camsoda.com/cam/mp4:cam_high/brianna-jilll-flu-ingest3-ams_h264_aac_480p/playlist.m3u8?token=eyJpdiI6IkpJZGJGcHZwSlJZaHltenhhTXpJZ2c9PSIsInZhbHVlIjoiaFRPMzBuYkpuXC9uWmt1Mm90RGFPM1E9PSIsIm1hYyI6IjI3ZjgzYmU3ZWE0ZjRkMmY2Nzk3ZjNhNDgwZGYwMWE2OGZiY2U3ZWE0NzhhNjU2ZDFjZWUxNjdiMWUxNjI2NTEifQ==
https://edge7-ord.camsoda.com/cam/mp4:cam_medium/jenniferburrill-flu-ingest1-ams_h264_aac_480p/playlist.m3u8?token=eyJpdiI6IkpJZGJGcHZwSlJZaHltenhhTXpJZ2c9PSIsInZhbHVlIjoiaFRPMzBuYkpuXC9uWmt1Mm90RGFPM1E9PSIsIm1hYyI6IjI3ZjgzYmU3ZWE0ZjRkMmY2Nzk3ZjNhNDgwZGYwMWE2OGZiY2U3ZWE0NzhhNjU2ZDFjZWUxNjdiMWUxNjI2NTEifQ==
�[31mfinished recording �[39m
�[31mfinished recording �[39m
�[31mfinished recording �[39m
checking for online models
�[32mstarted recording �[39m

So, every 20 seconds this repeats. The livestreamer.exe opens, again and again. No video files get saved.

I have also tried it with a programm called "X-StreamLoader". I guess it's the same issue. At least the camsoda channels that work and don't work are the same.

Here I receive the following kommando log if I try to stream the named camsoda channels:

[Streamlink for Windows v1.0.0 - Git f7ac894]
[cli][info] Found matching plugin camsoda for URL camsoda.com/brianna-jilll
error: Unable to open URL: https://edge4-ord.camsoda.com/cam/mp4:cam_high/brianna-jilll-flu-ingest1-ams_aac/playlist.m3u8?token=eyJpdiI6IkpJZGJGcHZwSlJZaHltenhhTXpJZ2c9PSIsInZhbHVlIjoiaFRPMzBuYkpuXC9uWmt1Mm90RGFPM1E9PSIsIm1hYyI6IjI3ZjgzYmU3ZWE0ZjRkMmY2Nzk3ZjNhNDgwZGYwMWE2OGZiY2U3ZWE0NzhhNjU2ZDFjZWUxNjdiMWUxNjI2NTEifQ== (HTTPSConnectionPool(host='edge4-ord.camsoda.com', port=443): Max retries exceeded with url: /cam/mp4:cam_high/brianna-jilll-flu-ingest1-ams_aac/playlist.m3u8?token=eyJpdiI6IkpJZGJGcHZwSlJZaHltenhhTXpJZ2c9PSIsInZhbHVlIjoiaFRPMzBuYkpuXC9uWmt1Mm90RGFPM1E9PSIsIm1hYyI6IjI3ZjgzYmU3ZWE0ZjRkMmY2Nzk3ZjNhNDgwZGYwMWE2OGZiY2U3ZWE0NzhhNjU2ZDFjZWUxNjdiMWUxNjI2NTEifQ== (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),)))
[End of Streamlink for Windows with ExitCode 1]

I'm not at all an expert when it comes to python and scripting. I only got some very little insight when I tried to install livestreamer and the other requirements for the script (searching for solutions for the problems I had). Now I can't really find anything that can help me understanding the problem.

So, I wonder whether this is a general problem or whether there's anything I could do about.

Thanks for help and ideas!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.