Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
REMitchell
GitHub Repository: REMitchell/python-crawling
Path: blob/master/3-Advanced-Crawlers/content.py
164 views
1
class Content:
2
'Common base class for all articles/pages'
3
4
5
def __init__(self, id, topicId, title, body, url):
6
self.id = id
7
self.topicId = topicId;
8
self.title = title;
9
self.body = body;
10
self.url = url;
11
12