Advertisement
Guest User

mmm

a guest
Feb 12th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. static void Main(string[] args)
  2. {
  3. dicks();
  4. Console.ReadKey();
  5. }
  6. public static async void dicks()
  7. {
  8. var boardList = await ChanRequest.GetBoardList("a.4cdn.org");
  9. foreach(var dick in boardList)
  10. {
  11. Console.Write(dick.board + ", ");
  12. }
  13. var catalogPage = await ChanRequest.GetBoardPage("a.4cdn.org", "g", 1);
  14. foreach(var thread in catalogPage.threads)
  15. {
  16. Console.WriteLine(thread.com);
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement