Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit b081a7b

Browse files
committed
Intigriti & The Cyber Mentor
1 parent 8b8598d commit b081a7b

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
## 🐛 Bug fixes
2-
- Oxford scrapping
3-
- Firefox package
4-
5-
## 💬 Other
6-
- Version control improved
1+
## 🦗 Welcome to
2+
- Intigriti rss
3+
- The Cyber Mentor channel
74

85
<!-- ## 🚀 Features
96
-

app/services/config.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ videos = "channels"
1111
tweets = "hashtags"
1212

1313
[news_items]
14-
sources = [ "Hacker Noon", "Hakin9", "Securelist", "ShiftLeft", "The Hacker News", "The Hacking Articles", "Pentest Lab",]
15-
functions = [ "hackernoon", "hakin9", "securelist", "shiftleft", "thehackernews", "thehackingarticles", "pentestlab",]
14+
sources = [ "Hacker Noon", "Hakin9", "Intigriti", "Securelist", "ShiftLeft", "The Hacker News", "The Hacking Articles", "Pentest Lab",]
15+
functions = [ "hackernoon", "hakin9", "intigriti", "securelist", "shiftleft", "thehackernews", "thehackingarticles", "pentestlab",]
1616

1717
[videos_items]
18-
channels = [ "UCVeW9qkBjo3zosnqUbG7CFw", "UCa6eh7gCkpPo5XXUDfygQQA", "UCW6MNdOsqv2E9AjQkv9we7A", "UClcE-kVhqyiHCcjYwcpfj9w", "UCZDyl7G-Lq-EMVO8PfDFp9g", "UC0ZTPkdxlAKf-V33tqXwi3Q", "UCCkVMojdBWS-JtH7TliWkVg", "UCtGLeKomT06x3xZ2SZp2l9Q",]
19-
usernames = [ "John Hammond", "Ippsec", "PwnFunction", "LiveOverflow", "BugBounty Reports Explained", "HackerSploit", "GynvaelEN", "247CTF",]
18+
channels = [ "UCVeW9qkBjo3zosnqUbG7CFw", "UCa6eh7gCkpPo5XXUDfygQQA", "UCW6MNdOsqv2E9AjQkv9we7A", "UClcE-kVhqyiHCcjYwcpfj9w", "UCZDyl7G-Lq-EMVO8PfDFp9g", "UC0ZTPkdxlAKf-V33tqXwi3Q", "UCCkVMojdBWS-JtH7TliWkVg", "UCtGLeKomT06x3xZ2SZp2l9Q", "UC0ArlFuFYMpEewyRBzdLHiw",]
19+
usernames = [ "John Hammond", "Ippsec", "PwnFunction", "LiveOverflow", "BugBounty Reports Explained", "HackerSploit", "GynvaelEN", "247CTF", "The Cyber Mentor",]
2020

2121
[tweets_items]
2222
hashtags = [ "#bugbountytips", "#hacking", "#pentest", "#zeroday", "#cybersecurity", "#cybersec", "#bugbounty",]

app/services/feeds.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,21 @@ def pentestlab(news):
189189
news.append({"name": name, "description": description, "link": link, "web": "Pentest Lab", "date": date, "lego": get_lego(name), "color": get_color(name), "saved": False})
190190
logging.info("Pentest Lab scrapped")
191191

192+
#【 INTIGRITI 】
193+
def intigriti(news):
194+
feedparser.USER_AGENT = UserAgent().firefox
195+
last_intigriti = feedparser.parse("https://blog.intigriti.com/feed/")
196+
logging.info("Scrapping Pentest Lab")
197+
for article in last_intigriti.entries:
198+
name = article.title
199+
link = article.link
200+
html_description = BeautifulSoup(article.description, features="html.parser")
201+
description = " ".join(html_description.get_text().split(" ")[:50])
202+
raw_date = article.published.split(", ")[1].rsplit(" ", 1)[0]
203+
date = datetime.strptime(raw_date, "%d %b %Y %H:%M:%S")
204+
news.append({"name": name, "description": description, "link": link, "web": "Intigriti", "date": date, "lego": get_lego(name), "color": get_color(name), "saved": False})
205+
logging.info("Intigriti scrapped")
206+
192207
# __
193208
#(\,---------------'()'--o
194209
# (_ _ VIDEOS _ /~"

0 commit comments

Comments
 (0)