Giter Club home page Giter Club logo

Comments (5)

MinkiNTN avatar MinkiNTN commented on June 19, 2024 1

Awesome! Thanks again for the great work 👍

I don't know if I should close the issue so I'm gonna leave you to it.

from chat-downloader.

xenova avatar xenova commented on June 19, 2024

This is a great idea! 👍 I unfortunately don't have any videos to test on (since I am not a member of any channel). Could I perhaps let you test the code before I add these changes to the master branch? The relevant lines of code are 116-129.
chat_replay_downloader.zip

You should be able to pass a cookies.txt file with -cookies <file>. For example:
python chat_replay_downloader.py <url> -cookies cookies.txt

Let me know if that works! 😃

from chat-downloader.

MinkiNTN avatar MinkiNTN commented on June 19, 2024

I just tested and it works prefectly 👍

Another question that I think is kinda related (since I'm not that good with Python :D): I'm importing your script like this from chat_replay_downloader import get_youtube_messages, how would I insert the cookies to that because I think it happens before.

from chat-downloader.

xenova avatar xenova commented on June 19, 2024

Okay great! 👍

Oh right, I should explicitly mention how to import from the main module in the README. You can do so as follows:

from chat_replay_downloader import ChatReplayDownloader

session = ChatReplayDownloader(cookies='cookies.txt')
youtube_messages = session.get_youtube_messages('id')
# or
messages = session.get_chat_replay('url')

from chat-downloader.

xenova avatar xenova commented on June 19, 2024

I'll close it with the next update! 😃

from chat-downloader.

Related Issues (20)

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.