{"id":2624,"date":"2019-08-27T17:13:15","date_gmt":"2019-08-27T21:13:15","guid":{"rendered":"https:\/\/portfolios.cs.earlham.edu\/?p=2624"},"modified":"2025-04-15T14:56:19","modified_gmt":"2025-04-15T18:56:19","slug":"cs388-week-1-first-idea-5","status":"publish","type":"post","link":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/","title":{"rendered":"CS388 \u2013 Week 1 \u2013 First Idea"},"content":{"rendered":"\n<p><strong>Buying tickets of popular concerts: the application imitates real users to buy concert tickets on the website. Users can set it up before the tickets opening date. As long as the tickets are open to sell, the application will immediately buy them. If the tickets are sold out, it keeps reloading the webpage until there are new tickets available. <\/strong><\/p>\n\n\n\n<p>One time I wanted to buy a concert ticket, but that concert was very popular, and tickets were sold out immediately. Then I kept reloading the website, hoping other people would cancel their orders. But I couldn&#8217;t keep reloading the page every second for the whole day. Then I thought if I can have software to do that for me. I did research and found that some web browser automation tools, for example, Selenium, can imitate operation like real users on a web browser. I searched online and found that most of this kind of software buy train tickets instead of concert tickets. The primary technology I will use is Selenium. And I will also need to learn how to read page source code. I will primary write a python script with Selenium to imitate real users buying a ticket online. Selenium can provide a web driver on Google Chrome to go to the target website. And the driver will locate element by tag names, element ID, XPath, class names and etc., and it can do automatic click and input.<\/p>\n\n\n\n<p>But there are several difficulties in my project. The first one is money security. Some ticket websites require payment immediately while making the order. Therefore, users need to provide their website account and bank card information&nbsp;beforehand. I need to be careful about bank card security. The second problem is that this software is website-specific. Different websites require different processes to buy tickets. I need to write different codes to deal with different sites.<br>\nThe third problem is that some websites require complicated verification on user login. I don&#8217;t know if web browser automation can deal with a very complicated verification. The last issue is that I don&#8217;t know if the scope of this project is big enough. I can have my software operates for several famous ticket websites and probably can have the mobile APP version.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Buying tickets of popular concerts: the application imitates real users to buy concert tickets on the website. Users can set it up before the tickets opening date. As long as the tickets are open to sell, the application will immediately &hellip; <a href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/\">Read More<\/a><\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[80,19,100],"tags":[],"class_list":["post-2624","post","type-post","status-publish","format-standard","hentry","category-80","category-student","category-yuqian-zhang"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CS388 \u2013 Week 1 \u2013 First Idea - CS\/DS Student Portfolios<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CS388 \u2013 Week 1 \u2013 First Idea - CS\/DS Student Portfolios\" \/>\n<meta property=\"og:description\" content=\"Buying tickets of popular concerts: the application imitates real users to buy concert tickets on the website. Users can set it up before the tickets opening date. As long as the tickets are open to sell, the application will immediately &hellip; Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/\" \/>\n<meta property=\"og:site_name\" content=\"CS\/DS Student Portfolios\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-27T21:13:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-15T18:56:19+00:00\" \/>\n<meta name=\"author\" content=\"yuzhang16\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"yuzhang16\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2019\\\/08\\\/27\\\/cs388-week-1-first-idea-5\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2019\\\/08\\\/27\\\/cs388-week-1-first-idea-5\\\/\"},\"author\":{\"name\":\"yuzhang16\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/675929d9a54cbde2ce8b1f0fd3663756\"},\"headline\":\"CS388 \u2013 Week 1 \u2013 First Idea\",\"datePublished\":\"2019-08-27T21:13:15+00:00\",\"dateModified\":\"2025-04-15T18:56:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2019\\\/08\\\/27\\\/cs388-week-1-first-idea-5\\\/\"},\"wordCount\":385,\"commentCount\":0,\"articleSection\":[\"2020\",\"Student\",\"Yuqian Zhang\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2019\\\/08\\\/27\\\/cs388-week-1-first-idea-5\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2019\\\/08\\\/27\\\/cs388-week-1-first-idea-5\\\/\",\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2019\\\/08\\\/27\\\/cs388-week-1-first-idea-5\\\/\",\"name\":\"CS388 \u2013 Week 1 \u2013 First Idea - CS\\\/DS Student Portfolios\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#website\"},\"datePublished\":\"2019-08-27T21:13:15+00:00\",\"dateModified\":\"2025-04-15T18:56:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/675929d9a54cbde2ce8b1f0fd3663756\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2019\\\/08\\\/27\\\/cs388-week-1-first-idea-5\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2019\\\/08\\\/27\\\/cs388-week-1-first-idea-5\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/2019\\\/08\\\/27\\\/cs388-week-1-first-idea-5\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CS388 \u2013 Week 1 \u2013 First Idea\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#website\",\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/\",\"name\":\"CS\\\/DS Student Portfolios\",\"description\":\"AI and ML, Image Classification, Arduino\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/675929d9a54cbde2ce8b1f0fd3663756\",\"name\":\"yuzhang16\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7e9ab43e8be5a619c91e8932c59fb8513e75ba41a251d84db414bd2d3f8fd6c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7e9ab43e8be5a619c91e8932c59fb8513e75ba41a251d84db414bd2d3f8fd6c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7e9ab43e8be5a619c91e8932c59fb8513e75ba41a251d84db414bd2d3f8fd6c?s=96&d=mm&r=g\",\"caption\":\"yuzhang16\"},\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/author\\\/yuzhang16\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CS388 \u2013 Week 1 \u2013 First Idea - CS\/DS Student Portfolios","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/","og_locale":"en_US","og_type":"article","og_title":"CS388 \u2013 Week 1 \u2013 First Idea - CS\/DS Student Portfolios","og_description":"Buying tickets of popular concerts: the application imitates real users to buy concert tickets on the website. Users can set it up before the tickets opening date. As long as the tickets are open to sell, the application will immediately &hellip; Read More","og_url":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/","og_site_name":"CS\/DS Student Portfolios","article_published_time":"2019-08-27T21:13:15+00:00","article_modified_time":"2025-04-15T18:56:19+00:00","author":"yuzhang16","twitter_card":"summary_large_image","twitter_misc":{"Written by":"yuzhang16","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/#article","isPartOf":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/"},"author":{"name":"yuzhang16","@id":"https:\/\/portfolios.cs.earlham.edu\/#\/schema\/person\/675929d9a54cbde2ce8b1f0fd3663756"},"headline":"CS388 \u2013 Week 1 \u2013 First Idea","datePublished":"2019-08-27T21:13:15+00:00","dateModified":"2025-04-15T18:56:19+00:00","mainEntityOfPage":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/"},"wordCount":385,"commentCount":0,"articleSection":["2020","Student","Yuqian Zhang"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/","url":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/","name":"CS388 \u2013 Week 1 \u2013 First Idea - CS\/DS Student Portfolios","isPartOf":{"@id":"https:\/\/portfolios.cs.earlham.edu\/#website"},"datePublished":"2019-08-27T21:13:15+00:00","dateModified":"2025-04-15T18:56:19+00:00","author":{"@id":"https:\/\/portfolios.cs.earlham.edu\/#\/schema\/person\/675929d9a54cbde2ce8b1f0fd3663756"},"breadcrumb":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2019\/08\/27\/cs388-week-1-first-idea-5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/portfolios.cs.earlham.edu\/"},{"@type":"ListItem","position":2,"name":"CS388 \u2013 Week 1 \u2013 First Idea"}]},{"@type":"WebSite","@id":"https:\/\/portfolios.cs.earlham.edu\/#website","url":"https:\/\/portfolios.cs.earlham.edu\/","name":"CS\/DS Student Portfolios","description":"AI and ML, Image Classification, Arduino","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/portfolios.cs.earlham.edu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/portfolios.cs.earlham.edu\/#\/schema\/person\/675929d9a54cbde2ce8b1f0fd3663756","name":"yuzhang16","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e7e9ab43e8be5a619c91e8932c59fb8513e75ba41a251d84db414bd2d3f8fd6c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e7e9ab43e8be5a619c91e8932c59fb8513e75ba41a251d84db414bd2d3f8fd6c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e7e9ab43e8be5a619c91e8932c59fb8513e75ba41a251d84db414bd2d3f8fd6c?s=96&d=mm&r=g","caption":"yuzhang16"},"url":"https:\/\/portfolios.cs.earlham.edu\/index.php\/author\/yuzhang16\/"}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"yuzhang16","author_link":"https:\/\/portfolios.cs.earlham.edu\/index.php\/author\/yuzhang16\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/category\/student\/2020\/\" rel=\"category tag\">2020<\/a> <a href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/category\/student\/\" rel=\"category tag\">Student<\/a> <a href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/category\/student\/2020\/yuqian-zhang\/\" rel=\"category tag\">Yuqian Zhang<\/a>","rttpg_excerpt":"Buying tickets of popular concerts: the application imitates real users to buy concert tickets on the website. Users can set it up before the tickets opening date. As long as the tickets are open to sell, the application will immediately &hellip; Read More","_links":{"self":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/2624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/comments?post=2624"}],"version-history":[{"count":1,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/2624\/revisions"}],"predecessor-version":[{"id":2625,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/2624\/revisions\/2625"}],"wp:attachment":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/media?parent=2624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/categories?post=2624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/tags?post=2624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}