Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions plugins/domains/500px/500px.com.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<div class='pixels-photo'>
<p>
<img src='<%= img_src %>' alt='<%= title %>'>
</p>
<a href='https://500px.com/photo/<%= id %>' alt='<%= title %>'></a>
<div class='embed-500px-photo'>
<a href='https://500px.com/photo/<%= id %>'>
<img src='<%= img_src %>' alt='<%= title %>' />
</a>
</div>
<script type='text/javascript' src='https://500px.com/embed.js' async></script>
<script type='text/javascript' src='https://500px.com/js/embed.js'></script>
12 changes: 9 additions & 3 deletions plugins/domains/500px/500px.com.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {

re: /^https?:\/\/(?:web\.)?500px\.com\/photo\/(\d+)/i,
re: /^https?:\/\/(?:web\.)?500px\.com\/photo\/([A-Za-z0-9]+)/i,

mixins: ["*"],

Expand Down Expand Up @@ -32,7 +32,13 @@ export default {
},

tests: [{skipMethods:['getData']},
"https://web.500px.com/photo/13541787/Long-After-Sunset-In-The-Black-Mountains-by-Jim-Ross/",
"https://500px.com/photo/56891080/frozen-by-ryan-pendleton?ctx_page=1&from=user&user_id=116369"
"https://500px.com/photo/gqZ6Tykaj5",
"https://500px.com/photo/KM6Mo0Fnyb?ctx_page=1&from=user&user_id=116369",
"https://500px.com/photo/wnYCJJNvlcV",
"https://500px.com/photo/nUBJ99ZZFNv"

// old URL format:
// "https://web.500px.com/photo/13541787/Long-After-Sunset-In-The-Black-Mountains-by-Jim-Ross/",
// "https://500px.com/photo/56891080/frozen-by-ryan-pendleton?ctx_page=1&from=user&user_id=116369"
]
};
2 changes: 1 addition & 1 deletion plugins/domains/espn.com.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default {
},
"https://www.espn.com/video/clip/_/id/18883925",
"https://www.espn.com.ar/video/clip?id=16686351",
"https://www.espn.com/video/clip/_/id/48638688",
"https://www.espn.com/video/clip/_/id/49845571",
"https://www.espn.com/watch/player/_/id/49684785/country/us/redirected/true#bucketId=1",
"https://www.espn.com/watch/player/_/id/7927216f-bca9-4fd8-8dcd-c128912e792c",
"https://www.espn.ph/video/clip?id=49676631",
Expand Down
1 change: 0 additions & 1 deletion plugins/links/hosted/23video-hosted.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default {
tests: [
"https://video.itu.dk/live/13796543",
"https://video.ku.dk/video/11827941/visual-social-media-lab-farida-vis-anne",
"https://video.nextconf.eu/video/1880845/data-without-limits",
"https://video.itu.dk/video/91172759/kandidat-i-softwaredesign-los",
// "https://www.fftv.no/skipatruljen-s3e3-voss-resort", No oEmbed discovery tags
]
Expand Down
Loading