Roachbones / discordless

Record Discord traffic via mitmproxy and export chatlogs to JSON or HTML.
GNU General Public License v3.0
71 stars 5 forks source link

Messages from discordapp.com not exported #19

Open bonyfish opened 1 month ago

bonyfish commented 1 month ago

Discord 0.0.297 running under macOS 10.14.6 was requesting messages from the discordapp.com domain.

I had to edit dcejson_exporter.py and html_exporter.py to get the export to work:

# match = re.match(r"https://discord.com/api/v9/channels/(\d*)/messages(\?|$)", url)
match = re.match(r"https://discordapp.com/api/v9/channels/(\d*)/messages(\?|$)", url)