mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-10 04:50:53 +01:00
Updated logging
This commit is contained in:
parent
bd220e4551
commit
3e4aedc421
3 changed files with 4 additions and 4 deletions
|
@ -86,7 +86,7 @@ Furthermore, if the person who posted a FixTweet link forgot to strip tracking,
|
||||||
|
|
||||||
In many ways, FixTweet has richer embeds and does more. Here's a table comparing some of FixTweet's features compared to Twitter default embeds as well as other embedding services
|
In many ways, FixTweet has richer embeds and does more. Here's a table comparing some of FixTweet's features compared to Twitter default embeds as well as other embedding services
|
||||||
|
|
||||||
| | FixTweet | Twitter default | vxTwitter (BetterTwitFix) | Twxtter (sixFix) |
|
| | FixTweet | Twitter default | vxTwitter (BetterTwitFix) | Twxtter (sixFix) |
|
||||||
| --------------------------------------- | :---------------------------------: | :------------------------------: | :------------------------------------------: | :-----------------------------------: |
|
| --------------------------------------- | :---------------------------------: | :------------------------------: | :------------------------------------------: | :-----------------------------------: |
|
||||||
| Embed Tweets / Images | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|
| Embed Tweets / Images | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|
||||||
| Embed profile pictures on text Tweets | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: |
|
| Embed profile pictures on text Tweets | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: |
|
||||||
|
|
|
@ -28,7 +28,7 @@ export const handleMosaic = async (
|
||||||
media.media_url_https?.match(/(?<=\/media\/)[a-zA-Z0-9_\-]+(?=[\.\?])/g)?.[0] ||
|
media.media_url_https?.match(/(?<=\/media\/)[a-zA-Z0-9_\-]+(?=[\.\?])/g)?.[0] ||
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
console.log('mosaicMedia', mosaicMedia);
|
// console.log('mosaicMedia', mosaicMedia);
|
||||||
// TODO: use a better system for this, 0 gets png 1 gets webp, usually
|
// TODO: use a better system for this, 0 gets png 1 gets webp, usually
|
||||||
let constructUrl = `https://${selectedDomain}/${
|
let constructUrl = `https://${selectedDomain}/${
|
||||||
userAgent.indexOf('Telegram') > -1 ? '0' : '1'
|
userAgent.indexOf('Telegram') > -1 ? '0' : '1'
|
||||||
|
@ -46,7 +46,7 @@ export const handleMosaic = async (
|
||||||
constructUrl += `/${mosaicMedia[3]}`;
|
constructUrl += `/${mosaicMedia[3]}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`Mosaic URL: ${constructUrl}`)
|
console.log(`Mosaic URL: ${constructUrl}`);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
media_url_https: constructUrl,
|
media_url_https: constructUrl,
|
||||||
|
|
|
@ -26,7 +26,7 @@ const statusRequest = async (
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isBotUA || flags.direct) {
|
if (isBotUA || flags.direct) {
|
||||||
console.log('Matched bot UA');
|
console.log(`Matched bot UA ${userAgent}`);
|
||||||
|
|
||||||
let response: Response;
|
let response: Response;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue