Update CHANGELOG.txt for v0.1.6

This commit is contained in:
Alessio 2022-05-14 18:28:33 -07:00
parent 5d54a46aaf
commit 94b8b551f8
4 changed files with 13 additions and 4 deletions

View File

@ -85,3 +85,9 @@ v0.1.5
- Update tombstone type of a tweet if it changes
- If a tweet gets hidden / deleted, it can become a tombstone without losing its content
- Enable support for users that change their handles
v0.1.6
------
- Add support for `mobile.twitter.com` tweet URLs
- Add basic support for Spaces (i.e., can now basically detect whether a tweet links to a Space or not)

View File

@ -1,7 +1,7 @@
package main
import (
_ "embed"
_ "embed"
"fmt"
"os"
"strconv"

View File

@ -17,8 +17,6 @@ TODO: downloading-modes
TODO broadcast-cards
panic: Unknown card type: 3691233323:periscope_broadcast
panic: Unknown card type: 745291183405076480:broadcast
twitter fetch_tweet https://twitter.com/r_w_degen/status/1497672129256566785 => panic: Unknown card type: 3691233323:audiospace
https://twitter.com/pompilivs/status/1497647006445146113 => same
TODO consecutive-tombstones
Conversation threads with two or more consecutive tombstones don't get scraped correctly

View File

@ -7,7 +7,7 @@ import (
"offline_twitter/terminal_utils"
)
const ENGINE_DATABASE_VERSION = 11
const ENGINE_DATABASE_VERSION = 12
type VersionMismatchError struct {
EngineVersion int
@ -68,6 +68,11 @@ var MIGRATIONS = []string{
alter table users add column is_id_fake boolean default 0;`,
`delete from urls where rowid in (select urls.rowid from tweets join urls on tweets.id = urls.tweet_id where urls.text like
'https://twitter.com/%/status/' || tweets.quoted_tweet_id || "%")`,
`create table spaces(rowid integer primary key,
id text unique not null,
short_url text not null
);
alter table tweets add column space_id text references spaces(id)`,
}
/**