webrecorder / webrecorder-desktop

Webrecorder Desktop App!
202 stars 24 forks source link

Capturing a tweet while signed in via preview mode results in a session with 0 pages #40

Open Igetin opened 4 years ago

Igetin commented 4 years ago

Steps to reproduce:

  1. Sign in to Twitter (in preview mode)
  2. Go to a tweet
  3. Switch to capture mode
  4. Stop the capture

The application returns to Collection Manager, but the captured page is not in the Pages list. When you go to the Manage Sessions view, you can see that the session is there, but there are no pages in it.

Session without pages

Sometimes the page does get saved, but when you try to browse it, Webrecorder shows a Resource not Found error. Trying to patch the page does not seem to help, because browsing the patched session will again show the Resource not Found error.

These issues happen only when signed in to Twitter. Because of this, private tweets cannot currently be captured.

Igetin commented 4 years ago

Actually, it seems that the issue is mostly related to signing in in preview mode. If I capture the actual log in as well, the tweets in that session get captured correctly… sometimes. The Resource not Found error can still happen even when capturing the login.

kbhasi commented 4 years ago

I'm suspecting that Webrecorder Desktop not only needs the ability to change user agents (#24 ), but the option to change the HTTP request language codes (to display pages in different languages; and possibly by ripping the "language" settings interface from Chromium and modifying it), and cookie management!

This cookie management feature could see cookies being separated by the collection by default, for both preview and capture modes, but (possibly) with options to share cookies between collections.