Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Given: anchorA tied to urlA
- posted = False
- for article in articles {
- if article contains anchor_a {
- replace "anchorA" with ("<a href=" + urlA + "\">" + anchorA + "</a>")
- do_the_posting
- posted = True
- break
- }
- }
- if posted == False {
- choose_random_article
- insert_link_in_a_separate_paragraph
- do_the_posting
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement