mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
update rules for additional sites
This commit is contained in:
parent
614938479b
commit
b7a098a9a7
@ -53,12 +53,18 @@ rules:
|
||||
# instagram rules
|
||||
#=================================================================
|
||||
- url_prefix: 'net,cloudfront,'
|
||||
|
||||
rewrite:
|
||||
js_regexs:
|
||||
- match: '\burl\((//[^)]+)\)'
|
||||
rewrite: true
|
||||
group: 1
|
||||
|
||||
- url_prefix: 'com,instagram)/p/'
|
||||
|
||||
fuzzy_lookup: '()'
|
||||
|
||||
|
||||
# flickr rules
|
||||
#=================================================================
|
||||
- url_prefix: ['com,yimg,l)/g/combo', 'com,yimg,s)/pw/combo', 'com,yahooapis,yui)/combo']
|
||||
@ -91,6 +97,23 @@ rules:
|
||||
- url_prefix: 'com,google,plus)/_/'
|
||||
|
||||
fuzzy_lookup: 'com,google,plus\)/_/.*?.*(f.sid=[^&]+)'
|
||||
|
||||
|
||||
# vimeo rules
|
||||
#=================================================================
|
||||
|
||||
- url_prefix: 'com,vimeo,av)/'
|
||||
|
||||
# only use non query part of url, ignore query
|
||||
fuzzy_lookup: '()'
|
||||
|
||||
- url_prefix: 'com,vimeo,player)/log/'
|
||||
|
||||
fuzzy_lookup:
|
||||
- id
|
||||
- ownerId
|
||||
- videoFileId
|
||||
- signature
|
||||
|
||||
|
||||
# testing rules -- not for valid domain
|
||||
|
Loading…
x
Reference in New Issue
Block a user