Last active
May 26, 2018 15:47
-
-
Save ihfazhillah/c57aa0c1b2bc36c8b31a4ce172d0cb65 to your computer and use it in GitHub Desktop.
models for feedparser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# actually, i create it in one file :D | |
import mongoengine | |
mongoengine.connect("upwork", host="the host url that you got from mlab.com") | |
class Url(mongoengine.Document): | |
title = mongoengine.StringField() | |
url = mongoengine.StringField() | |
class Item(mongoengine.Document): | |
title = mongoengine.StringField() | |
guid = mongoengine.StringField() | |
description = mongoengine.StringField() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment