-
Notifications
You must be signed in to change notification settings - Fork 0
Parsable URI's
bananastalktome edited this page Sep 14, 2010
·
3 revisions
Useful for reference.
Service | Match URI Regular Expression |
---|---|
Youtube | /^(www\.)?youtube\.com$/i |
Vimeo | /^(www\.)?vimeo\.com$/i |
Flickr | /^(www\.)?(flic\.kr|(farm[0-9]\.static\.|)(flickr)\.com)/i |
Imageshack | /^img([0-9]*?)\.imageshack\.us$/i |
Photobucket | /^([a-z0-9]*?[^(media)])\.photobucket\.com$/i |
Twitpic | /^twitpic\.com$/i |
/^(www\.)?facebook\.com$/i |
|
Picasa | /^(www\.)?picasaweb\.google\.com$/i |
Since it wouldn’t all fit into one table…
Service | Details URI Regex | |
---|---|---|
Youtube | Path /\/watch\/?$/i with v Param |
|
Path /\/(v|p)\/([a-z0-9\-\_]+)/i
|
||
Path /^\/view\_play\_list\/?$/i with p Param |
||
Vimeo | Path /^\/(album\/)?([0-9]+)(\/)?$/i
|
|
Path /^\/groups\/([0-9a-z\@\-\_]+)\/videos\/([0-9]+)\/?$/i
|
||
Path /^\/moogaloop\.swf$/i with clip_id Param |
||
Flickr | Host+Path /^flic\.kr\/p\/([a-z0-9]+)/i
|
|
Path /^\/photos\/([a-z0-9\-\_\@]+?)\/(sets\/)?([0-9]+)/i
|
||
Host+Path /^farm([1-3])\.static.flickr.com\/([0-9]+?)\/([0-9]+?)\_([a-z0-9]+?)((?:\_[a-z]){1,2}){0,1}\.([a-z]+)/i
|
||
Imageshack | Path /^\/i\/([a-z0-9]+?)\.([a-z0-9]+)(\/)?/i
|
|
Path /^\/img([0-9]*?)\/([0-9]+?)\/([a-z0-9]+?)\.([a-z0-9]+)/i
|
||
Photobucket | Path /^\/albums\/(.+?)\/(?:(.*)\/)*(.+?)\.(.+?)$/i
|
|
Path /^\/groups\/(.+?)\/(.+?)\/(.+?)\.(.+)$/i
|
||
Path /^\/albums\/(.+?)\/(.[^\.]*?)\/?$/i (optional current and action Params set) |
||
Path /^\/groups\/(\w+?)\/(\w+?)\/?$/i (optional current and action Params set) |
||
Twitpic | Path /^\/([a-z0-9]+)/i
|
|
Path /^\/album\.php$/i and aid, id, and l Params |
||
Path /^\/photo\.php$/i and pid, id, and l Params |
||
Picasa | Path /^\/(.[^\/]+)\/(.[^\/]+)/i
|
(character entity reference for me)
@ @
| |