Skip to content

Shlummie/snapchatparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Chat Message Extractor

A simple Python program that extracts messages sent by a specific user from multiple HTML files generated by snapchat. This tool helps users gather and analyze chat history easily.

Features

  • Extracts all messages from a specified user.
  • Processes multiple HTML files in a designated directory.
  • Saves extracted messages into a text file for easy access.

Requirements

  • Python 3.x
  • BeautifulSoup4
  • lxml (required, for better HTML parsing)

Installation

  1. Clone the repository:

    git clone https://github.com/your_username/chat_extractor.git
    Usage
    
     Place all your HTML files in a folder (e.g., html_files/).
    
     Update the directory_path variable in run1.py with the path to your folder containing the HTML files.
    
     Set the username variable to the user whose messages you want to extract (e.g., derek_c04).
    
     Run the script:
    
     bash
    

python run1.py

After execution, the extracted messages will be saved to extracted_texts.txt.

About

snapchat html message extractor

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages