Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
turbou committed Dec 1, 2023
1 parent 4b05516 commit 79ee17d
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions work/contrast_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/release.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/release.html#%s' % id_hash
if not '月' in title:
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(s) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/dotnet_core_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/-net-core-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/-net-core-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(html.escape(s)) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/dotnet_framework_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/-net-framework-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/-net-framework-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(html.escape(s)) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/go_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/go-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/go-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(s) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/java_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/java-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/java-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(s) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/nodejs_beta_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/node-js-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/node-js-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(s) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/nodejs_protect_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/node-js-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/node-js-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(s) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/nodejs_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/node-js-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/node-js-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(s) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/php_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/php-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/php-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(s) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/python_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/python-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/python-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(s) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down
2 changes: 2 additions & 0 deletions work/ruby_rlsnote.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def main():
id_hash = hashlib.md5(id_str.encode()).hexdigest()
url = 'https://docs.contrastsecurity.jp/ja/ruby-agent-release-notes-and-archive.html#%s' % id_str
guid = 'https://docs.contrastsecurity.jp/ja/ruby-agent-release-notes-and-archive.html#%s' % id_hash
if not 'リリース日' in ''.join(desc_buffer):
continue
feed.add_item(title=title, link=url, description=''.join(['<p>{0}</p>'.format(s) for s in desc_buffer]), pubdate=pubdate, unique_id=guid)
except IndexError:
continue
Expand Down

0 comments on commit 79ee17d

Please sign in to comment.