Robin Universe
3ab59daf28
Several changes
...
1. Add the /latest/ endpoint
2. Fix a problem that was leading to infinite loops in some instances
3. Attempt to add Slack support via adding the useragent
4. Make the output a bit prettier and more descriptive
2021-12-02 18:58:36 -06:00
Robin Universe
327bce259d
Merge pull request #36 from nyuszika7h/ignore-pycache
...
Delete `__pycache__` and add it to .gitignore
2021-10-06 09:41:40 -05:00
nyuszika7h
5c4138e158
Delete __pycache__ and add it to .gitignore
2021-10-06 11:38:07 +02:00
Robin Universe
f22ce5b77a
Added support for twitter urls with /statuses/, Made some changes to direct urls
2021-10-01 16:59:20 -05:00
Robin Universe
71ddaceeb4
Updated contributors list
2021-09-29 03:37:34 -05:00
Robin Universe
908c144c1a
Added Monthly contributors to Readme
2021-09-28 15:10:37 -05:00
Robin Universe
1e43e67276
Merge pull request #28 from jack1142/patch-1
...
Add Revolt's user agent
2021-08-17 12:34:34 -05:00
jack1142
d9e4368ecc
Add Revolt's user agent
2021-08-17 04:11:23 +02:00
Robin Universe
8006df8d84
Merge pull request #24 from adryd325/main
...
Address issue #23 by URL encoding data sent to oembed endpoint
2021-08-04 16:18:23 -05:00
adryd
94ce8ba17e
Addresses #23
2021-08-02 21:52:13 -04:00
robinuniverse
df7bf05fe6
Added the /dir/ endpoint info to the readme
2021-07-21 17:51:36 -05:00
robinuniverse
35988b1272
Added a direct MP4 endpoint (/dir/ before the input url)
2021-07-21 16:36:05 -05:00
Robin Universe
bfcb28e7a0
Merge pull request #18 from adryd325/main
...
Fix link regex to match pre-snowflake tweet IDs
2021-07-20 00:02:22 -05:00
adryd
a59fe47cac
Fix link regex to match pre-snowflake tweet IDs
2021-07-20 00:17:57 -04:00
Robin Universe
f19e3387ba
Merge pull request #14 from Izofeu/main
...
Add Telegram support
2021-07-16 15:44:57 -05:00
Izofeu
ac2f3f5fa6
Update index.html
2021-07-16 22:37:47 +02:00
Izofeu
4bf08098fa
Update index.html
2021-07-16 22:29:36 +02:00
Izofeu
b56bee745b
Update twitfix.py
2021-07-16 22:25:43 +02:00
robinuniverse
5567498a20
Added automatic link redirecting for t.co links in non video tweets when using the API
2021-07-14 19:15:06 -05:00
robinuniverse
f3f62f3cb4
Added more config options for color, name, and repo, made clicking on the bare url directly redirect to the repo based on useragent, fixed one config that was being created with the wrong name, finally added a url config so oembed works on other servers without digging around in the html
2021-07-14 03:33:46 -05:00
robinuniverse
e276425b74
Removed some debug code, fixed a missed renamed var, fixed redirects on full url subpaths
2021-07-13 13:57:09 -05:00
Robin Universe
a2623f568a
Merge pull request #8 from nbtm-sh/main
...
Naming conventions of some variables do not match that defined in the python spec
2021-07-13 12:28:46 -05:00
nbtm
59c4bbf188
Changed variable and function naming conventions to match that of pythons spec
2021-07-14 03:19:24 +10:00
nbtm
c3c2dbb008
Changed variable and function naming conventions to match that of pythons spec
2021-07-14 03:18:50 +10:00
Robin Universe
76ed67b42b
Merge pull request #7 from abbeysside/main
...
Added fallback links in case automatic forwarding is blocked.
2021-07-13 11:04:29 -05:00
At Abbey's side
080bab462d
Update default.html
2021-07-13 17:28:50 +02:00
At Abbey's side
081ff3028c
Update index.html
2021-07-13 17:27:37 +02:00
Robin Universe
e54d824d1a
Merge pull request #4 from adryd325/main
...
Redirect to Twitter when it's not Discord calling
2021-07-13 01:35:25 -05:00
adryd
63570ea84b
Match twitter_url before checking user agent
2021-07-13 02:32:25 -04:00
adryd
4053f6373d
Just redirect to Twitter when it's not Discord calling
...
Signed-off-by: adryd <me@adryd.com>
2021-07-13 02:15:30 -04:00
robinuniverse
f90249fc05
Actually fixed broken descriptions (they were worse than we thought) (thanks maddie again)
2021-07-12 16:41:07 -05:00
robinuniverse
ac581f49b2
Fixed broken descriptions
2021-07-12 15:48:21 -05:00
robinuniverse
7179c36af1
Made it so hybrid mode actually works :p (thanks maddie)
2021-07-12 14:49:29 -05:00
robinuniverse
2a638ac4b4
Fished the Twitter API implementation, everything works as of writing :)
2021-07-12 13:49:19 -05:00
robinuniverse
8aa811e5f6
Refactored a majority of the code in preparation for twitter API implementation, not quite there yet, but it's at least as functional as it was before I started
2021-07-12 03:49:07 -05:00
robinuniverse
0d5d4a04db
updated readme some more
2021-07-11 15:51:59 -05:00
robinuniverse
2f9f160b34
Added config system, Updated readme, Fixed DB connections stalling with multiple uWSGI workers, Made it less prone to crashing if necessary files are not present
2021-07-11 15:48:17 -05:00
robinuniverse
4aa3c9a59e
Made links not show the last word of a description (the internal twitter vid link) to clean up embeds
2021-07-10 09:17:33 -05:00
robinuniverse
836e0b1f1f
Added post accent colors
2021-07-09 18:34:21 -05:00
robinuniverse
5621378d1b
Forgot to include the request module, fixed that
2021-07-09 14:04:46 -05:00
Robin Universe
f0377f66a9
Added advanced oEmbeds that allow for better video embeds with descriptions
2021-07-09 05:32:04 -05:00
Robin Universe
d3e151904c
fixed a minor typo, actually got rid of pycache
2021-07-07 22:23:59 -05:00
Robin Universe
ecba0fc79d
Added a new link caching system, updated the readme, started ignoreing pycache
2021-07-07 22:17:23 -05:00
Robin Universe
52df884b0f
Added embed message for blank url
2021-07-05 22:30:16 -05:00
Robin Universe
0950a0af09
Made the template more generic to work with other vid types potentially
2021-07-05 11:12:59 -05:00
Robin Universe
79faca77fe
Updated the readme, started work on seperating things into functions to attempt to work with other sites
2021-07-05 11:02:17 -05:00
Robin Universe
af263ce55f
fixed it for the /info/ path too
2021-07-04 16:54:23 -05:00
Robin Universe
abb7868e7d
the YoutubeDL object is now created and destroyed as needed to avoid bad guest token bugs after running for a long time
2021-07-04 16:52:38 -05:00
Robin Universe
6b4fbf97f0
Added an embeded error message system to show when / why stuff might not be working
2021-07-04 05:08:36 -05:00
Robin Universe
334e8f8ff1
Added a link cache system to increase speed and cut way down on time spent downloading / hitting the twitter api call limit
2021-07-04 04:40:22 -05:00