# -*- coding: utf-8 -*-

from ynet import *

article = Article("https://www.ynet.co.il/articles/0,7340,L-5506634,00.html")

comment = article.get_comment_by_comment_num(3)
print('Found comment:' + comment.title)
print('Comment text:' + comment.text)
print('Sending reply...')
reply = Comment(
    article,
    name='python-ynet bot reply test',
    email='<EMAIL>',
    location='your mom\'s butthole',
    title='Test reply using python-ynet',
    text='github.com/sl4vkek/python-ynet'
    )
comment.reply(reply)

# -*- coding: utf-8 -*-

from ynet import *

article = Article("https://www.ynet.co.il/articles/0,7340,L-5506634,00.html")

comment = article.get_comment_by_comment_num(3)
print('Found comment:' + comment.title)
print('Comment text:' + comment.text)
print('Sending reply...')
reply = Comment(
    article,
    name='python-ynet bot reply test',
    email='<EMAIL>',
    location='your mom\'s butthole',
    title='Test reply using python-ynet',
    text='github.com/sl4vkek/python-ynet'
    )
comment.reply(reply)

# -*- coding: utf-8 -*-