def save_link(msg):
entry = Link.create(
user=msg.get('from').get('username'),
message=msg.get('text'),
time=unix_time_to_python_time(msg.get('date')),
link=get_link(msg)
)
entry.save()
# This dictionary keeps track of how fire a track is.
# The key is the message_identifier of the message containing the link, the value is a list
# of the message_identifier of the fuego display and a list of IDs that have sent fuegos.
评论列表
文章目录