Skip to content

Commit

Permalink
tests: remove retired URLs of Twitter Timelines
Browse files Browse the repository at this point in the history
  • Loading branch information
iparamonau committed May 2, 2024
1 parent a606530 commit 58c0636
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/domains/twitter.com/twitter.timelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
// https://twittercommunity.com/t/removing-support-for-embedded-like-collection-and-moment-timelines/150313
re: [
/^https?:\/\/(?:twitter|x)\.com\/(\w+)\/lists?\/(\d+)/i,
/^https?:\/\/(?:twitter|x)\.com\/(\w+)(?:\/likes)?\/?(?:\?.*)?$/i,
/^https?:\/\/(?:twitter|x)\.com\/(\w+)\/?(?:\?.*)?$/i,
],

mixins: [
Expand Down Expand Up @@ -146,9 +146,7 @@ export default {
tests: [
"https://twitter.com/potus",
"https://twitter.com/XDevelopers",
// "https://twitter.com/TwitterDev/lists/national-parks",
"https://twitter.com/i/lists/211796334",
"https://twitter.com/elonmusk/likes",
{skipMixins: ["domain-icon", "oembed-error"]}, {skipMethods: ["getData"]}
]
};

0 comments on commit 58c0636

Please sign in to comment.