Share 130 ASP source codes, there is always one suitable for you

ASP source code

Share 130 ASP source codes, there is always one suitable for you

The following is the name of the file, I put some pictures, not all the pictures in the article are mainly because they can’t fit...,

130 ASP source code download links: https://pan.baidu.com/s/13ZxaHPHdgorjGV1wWvx1WQ?pwd=7z4p 
Extraction code: 7z4p

Python acquisition code download link: https://wwgn.lanzoul.com/iKGwb0kye3wj

Speed ​​Ankang school website program v3.1.2
LDCMS blue exquisite corporate website v1.0.1
ACTCMS website management system v4.0 build 20110623 gbk
ACTCMS website management system v4.0 build 20110623 UTF8
ASP Sina love to ask the thief v1.0 build 20110623
Terminal novel management system v1.02
Invincible Automatic Chain Commercial Edition v1.0
Happy One_Happy Moment_Joke Bar v1.0
Webmaster news website program v2.3
XYCMS enterprise station building system v1.0
Dazzling no refresh chat room ImChat video version v1.54
Boutique imitation weight loss station single-page program source code v1

import os
import shutil
import time
from time import sleep

import requests
from bs4 import BeautifulSoup
from docx import Document
from docx.shared import Inches

from framework.base.BaseFrame import BaseFrame
from sprider.business.DownLoad import DownLoad
from sprider.business.SeleniumTools import SeleniumTools
from sprider.business.SpriderTools import SpriderTools

from selenium import webdriver
from selenium.webdriver.common.by import By
from sprider.model.SpriderEntity import SpriderEntity
from sprider.access.SpriderAccess import SpriderAccess


class HuaJunCode:
    base_url =  "https://down.chinaz.com" # collected URL
    save_path = "D:\\Freedom\\Sprider\\ChinaZ\\"
    sprider_count = 130 # Collection quantity
    sprider_start_count=2305 #Collecting the 12th resource on page 491, a total of 499 resources debug



    word_content_list = []
    folder_name = ""
    page_end_number=0
    max_pager=15 #Quantity per page
    haved_sprider_count =0  # The amount collected
    page_count = 1  # Each column starts business content="text/html; charset=gb2312"
    filter_down_file=[]


Jiangxi small game network whole station source code (including 52162 data) v2.0
Web site navigation system v1.0
Think high digital mall v1.8
Qi blowing net 7chui v1.0
Wisdom guestbook v4.0
Eda OA office management system free with OA office assistant v2010091800
Sanfu Tieguanyin tea website source code v1.0
QCMS small website management system ASP v2.1
Qicheng enterprise website management system v1.0 (English version)
Qzone code cloning tool 1.0
Dazzling no refresh chat room ImChat v1.53 Build111615
QQ quick login plugin for KesionCMS V7.0x v1.0
Hedy online QQ customer service plug-in v1.9
Website filing information query system v2.5
Soso.com-Secret Website v1.0
ebook8 website navigation program (complete with background) v3.5
asp online shopping system Shopxp v16.02

    def sprider(self,title_name="NET"):

        """
       collection
       PHP https://down.chinaz.com/class/572_5_1.htm
       NET https://down.chinaz.com/class/572_4_1.htm
       ASP https://down.chinaz.com/class/572_3_1.htm
       Python https://down.chinaz.com/class/604_572_1.htm
            https://down.chinaz.com/class/608_572_1.htm
        WeChat https://down.chinaz.com/class/610_572_1.htm
       Ruby   https://down.chinaz.com/class/622_572_1.htm
       NodeJs https://down.chinaz.com/class/626_572_1.htm
       C https://down.chinaz.com/class/594_572_1.htm
       :return:
       """
        if title_name == "PHP":
            self.folder_name = "PHP source code"
            self.second_column_name = "572_5"
        elif title_name == "Go":
            self.folder_name = "Go source code"
            self.second_column_name = "606_572"
        elif title_name == "NET":
            self.folder_name = "NET source code"
            self.second_column_name = "572_4"
        elif title_name == "ASP":
            self.folder_name = "ASP source code"
            self.second_column_name = "572_3"
        elif title_name == "Python":
            self.folder_name = "Python source code"
            self.second_column_name = "604_572"
        elif title_name == "JavaScript":
            self.folder_name = "JavaScript source code"
            self.second_column_name = "602_572"
        elif title_name == "Java":
            self.folder_name = "Java source code"
            self.second_column_name = "572_517"
        elif title_name == "HTML":
            self.folder_name = "HTML-CSS source code"
            self.second_column_name = "608_572"
        elif title_name == "TypeScript":
            self.folder_name = "TypeScript source code"
            self.second_column_name = "772_572"
        elif title_name == "WeChat applet":
            self.folder_name = "WeChat applet source code"
            self.second_column_name = "610_572"
        elif title_name == "Ruby":
            self.folder_name = "Ruby source code"
            self.second_column_name = "622_572"
        elif title_name == "NodeJs":
            self.folder_name = "NodeJs source code"
            self.second_column_name = "626_572"
        elif title_name == "C++":
            self.folder_name = "C++source code"
            self.second_column_name = "596_572"
        elif title_name == "C":
            self.folder_name = "C source code"
            self.second_column_name = "594_572"
        #https://down.chinaz.com/class/594_572_1.htm


        first_column_name = title_name # First level directory
        self.sprider_category = title_name  # First level directory
        second_folder_name = str(self.sprider_count) + "indivual" + self.folder_name #Secondary directory
        self.sprider_type =second_folder_name
        self.merchant=int(self.sprider_start_count) //int(self.max_pager)+1 #starting page number for efficiency collection
        self.file_path = self.save_path + os.sep + "Code" + os.sep + first_column_name + os.sep + second_folder_name
        self.save_path = self.save_path+ os.sep + "Code" + os.sep+first_column_name+os.sep + second_folder_name+ os.sep + self.folder_name
        BaseFrame().debug("start collecting ChinaZCode"+self.folder_name+"...")
        sprider_url = (self.base_url + "/class/{0}_1.htm".format(self.second_column_name))
        down_path="D:\\Freedom\\Sprider\\ChinaZ\\Code\\"+first_column_name+"\\"+second_folder_name+"\\Temp\\"
        if os.path.exists(down_path) is True:
            shutil.rmtree(down_path)
        if os.path.exists(down_path) is False:
            os.makedirs(down_path)

        if os.path.exists(self.save_path ) is True:
            shutil.rmtree(self.save_path )
        if os.path.exists(self.save_path ) is False:
            os.makedirs(self.save_path )
        chrome_options = webdriver.ChromeOptions()
        diy_prefs ={'profile.default_content_settings.popups': 0,
                    'download.default_directory':'{0}'.format(down_path)}
        # Add path to selenium configuration
        chrome_options.add_experimental_option('prefs', diy_prefs)
        chrome_options.add_argument('--headless') #hide browser

        # Association ignore certificate error when instantiating chrome browser
        driver = webdriver.Chrome(options=chrome_options)
        driver.set_window_size(1280, 800)  # Resolution 1280*800

        # The driver.get method will locate the webpage at the given URL, and the URL accepted by get can be any URL, here we take Baidu as an example
        driver.get(sprider_url)
        # content = driver.page_source
        # print(content)
        div_elem = driver.find_element(By.CLASS_NAME, "main")  # List page core content
        element_list = div_elem.find_elements(By.CLASS_NAME, 'item')

        laster_pager_ul = driver.find_element(By.CLASS_NAME, "el-pager")
        laster_pager_li =laster_pager_ul.find_elements(By.CLASS_NAME, 'number')
        laster_pager_url = laster_pager_li[len(laster_pager_li) - 1]
        page_end_number = int(laster_pager_url.text)
        self.page_count=self.merchant
        while self.page_count <= int(page_end_number):  # Turn over and stop
            try:
                if self.page_count == 1:
                    self.sprider_detail(driver,element_list,self.page_count,page_end_number,down_path)
                    pass
                else:
                    if self.haved_sprider_count == self.sprider_count:
                        BaseFrame().debug("Collection arrival quantity collection stop...")
                        BaseFrame().debug("start writing an article...")
                        self.builder_word(self.folder_name, self.word_content_list)
                        BaseFrame().debug("After the file is written, please go to the corresponding disk to view word Files and Downloads!")
                        break
                    #(self.base_url + "/sort/{0}/{1}/".format(url_index, self.page_count))
                    #http://soft.onlinedown.net/sort/177/2/

                    next_url = self.base_url + "/class/{0}_{1}.htm".format(self.second_column_name, self.page_count)
                    driver.get(next_url)

                    div_elem = driver.find_element(By.CLASS_NAME, "main")  # List page core content
                    element_list = div_elem.find_elements(By.CLASS_NAME, 'item')
                    self.sprider_detail( driver, element_list, self.page_count, page_end_number, down_path)
                    pass
                #print(self.page_count)
                self.page_count = self.page_count + 1  # Page number increased by 1
            except Exception as e:
                print("sprider()An error occurred during execution:" + str(e))
                sleep(1)


JaManaGe enterprise website building system v2.0 GBK
Concise broken thoughts Weibo system v1.1
KesionCMS v7.06 Build0608 GBK
KesionCMS v7.06 Build0608 UTF-8
KesionEShop v7.06 Build0608 GBK
KesionEShop V7.06 Build0608 UTF-8
63996 website navigation source program v3.0
Mortal online shopping system 2010 free version
DF-seo enterprise network management system v2.0
Mayor mailbox (online business) system v6.0
Dazzling no refresh chat room ImChat v1.5
Jinmei movie program v11.1
Tencent QQ login SDK(ASP) v1.1
ip to city (asp+access) v1.5
Enterprise SMS SMS800 universal plug-in v1.0
Haina website content management system v1.1
ASP version qq login plug-in 1.0
Tencent Weibo synchronization SDK(ASP supports image synchronization) v1.1
Wind resources download automatic collection maintenance-free version v1.0
Kehai network enterprise website management system v2011.5.17
Kehai network product release system v2011.5.17
CFUpdate bulk upload component for ASP v1.1.8
No. 6 alliance software thief v1.0
Chengfeng advertising alliance system v5.2
RTE (Rich Text Editor) ASP.NET Control  build 06032008
Changchun Sunshine Women's Hospital Online Appointment System v1.0
NB Music Network v2.3.1
2011 latest weather forecast query v1.1
Extraordinary government information website management system.NET v2011.3
Online registration system v2.0


    def sprider_detail(self, driver,element_list,page_count,max_page,down_path):
        """
        Collection Details Page
        :param driver:
        :param element_list:
        :param page_count:
        :param max_page:
        :param down_path:
        :return:
        """
        index = 0
        element_array=[]
        element_length=len(element_list)
        for element in element_list:
            url_A_obj = element.find_element(By.CLASS_NAME,  'name-text')
            next_url = url_A_obj.get_attribute("href")
            coder_title = url_A_obj.get_attribute("title")
            e=coder_title+"$"+ next_url
            element_array.append(e)
            pass
        if int(self.page_count) == int(self.merchant):
            self.sprider_start_index = int(self.sprider_start_count) % int(self.max_pager)
            index=self.sprider_start_index
        while index < element_length:


            if os.path.exists(down_path) is False:
                os.makedirs(down_path)

            if self.haved_sprider_count == self.sprider_count:
                BaseFrame().debug("Collection arrival quantity collection stop...")
                break

            #element = element_list[index]
            element=element_array[index]
            time.sleep(1)

            index = index + 1
            sprider_info="is collecting the first"+str(page_count)+"page of"+str(index)+"resources of"+str(max_page)+"page resources"
            BaseFrame().debug(sprider_info)
            next_url=element.split("$")[1]
            coder_title=element.split("$")[0]
            # next_url = element.find_element(By.TAG_NAME, 'a').get_attribute("href")
            # coder_title =element.find_element(By.TAG_NAME, 'img').get_attribute("title")

            try:
                codeEntity = SpriderEntity()  # Downloaded resources are no longer downloaded
                codeEntity.sprider_base_url = self.base_url
                codeEntity.create_datetime = SpriderTools.get_current_datetime()
                codeEntity.sprider_url = next_url
                codeEntity.sprider_pic_title = coder_title
                codeEntity.sprider_pic_index = str(index)
                codeEntity.sprider_pager_index = page_count
                codeEntity.sprider_type = self.sprider_type
                if SpriderAccess().query_sprider_entity_by_urlandindex(next_url, str(index)) is None:
                    SpriderAccess().save_sprider(codeEntity)
                else:
                    BaseFrame().debug(coder_title+next_url + "Data collection is over and therefore skipped")
                    continue

                driver.get(next_url)  # Request Details Page 1
                if SeleniumTools.judeg_element_isexist(driver, "CLASS_NAME", "download-item") == 3:
                    driver.back()
                    BaseFrame().debug(coder_title+"source code does not exist soft so skip it....")
                    continue
                print("Ready to hit the download button...")
                driver.find_element(By.CLASS_NAME, "download-item").click() #download source code
                sleep(1)
                result,message=SpriderTools.judge_file_exist(True,240,1,down_path,self.filter_down_file,"zip|rar|gz|tgz")#Judging the source code
                if result is True:

                    sprider_content = [coder_title, self.save_path + os.sep +"image"+ os.sep + coder_title + ".jpg"]  # Records of successful collection
                    self.word_content_list.append(sprider_content)  # added to the final array
                    self.haved_sprider_count = self.haved_sprider_count + 1
                    BaseFrame().debug("The collection has been completed" + str(self.haved_sprider_count) + "indivual")
                    time.sleep(1)
                    driver.back()

                    coder_title = str(coder_title).replace("::", "").replace("/", "").strip() #Remove characters that windows does not recognize

                    files = os.listdir(down_path)
                    file_name = files[0]  # get default

                    srcFile = down_path + os.sep + file_name
                    file_ext = os.path.splitext(srcFile)[-1]

                    dstFile = down_path + os.sep + coder_title + file_ext
                    os.rename(srcFile, dstFile)
                    srcFile = dstFile
                    dstFile = self.save_path + os.sep + coder_title + file_ext

                    shutil.move(srcFile, dstFile)  # move files

                else:
                    files = os.listdir(down_path)  # Read all files in the directory
                    coder_title = str(coder_title).replace("/", "")  # Remove characters that windows does not recognize
                    try:
                        if str(message)=="0 documents identified as False":
                            BaseFrame().error(coder_title+"file does not exist...")
                            shutil.rmtree(down_path)  # It cannot be deleted if it is not downloaded
                            pass
                        else:
                            BaseFrame().error("The possible reason for detecting an error in downloading files is that the waiting time is not enough and it has timed out. Wait for another 60 seconds...")
                            time.sleep(60)
                            shutil.rmtree(down_path) #It cannot be deleted if it is not downloaded
                            #empty array
                            self.filter_down_file.clear()
                    except Exception as e:
                        # Use the array append to record the file name and filter when moving
                        self.builder_filter_file(files)
                    pass
            except Exception as e:
                BaseFrame().error("sprider_detail()An error occurred during execution:" + str(e))
                BaseFrame().error("sprider_detail()Record the downloaded file name")
                # Use the array append to record the file name and filter when moving
                files = os.listdir(down_path)  # Read all files in the directory
                self.builder_filter_file(files)

        if(int(page_count)==int(max_page)):
            self.builder_word(self.folder_name,self.word_content_list)
            BaseFrame().debug("After the file is written, please go to the corresponding disk to view word Files and Downloads!")




XYCMS message board v3.0
CPPCC management system full static version v1.0
Where to live API hotel + car rental source package v8.0
ASPCMS open source enterprise website management system v1.5 build 20110517
Deepin Enterprise Website Management System v1.0
IP access restriction ASP program (can be added to the background) v1.0
asp video applet v2011
Maibu search engine v3.3 Pro
Jun business group purchase navigation program v1.0 Beta
Army soul cheetah whole site management system v1.6
Interda oa office system v2011
Qianqian listen to MP3 player v1.0
Weather forecast query v3.0
Shangqi Host Evaluation System Commercial Edition v2.1 SP1
Venus leave form management system v1.0 test version
chinawbt movie thief program pseudo static version
didicms enterprise website management system Build 110509
Frank's mobile phone mall system source code 2011
vblog v6.0
Ronin user message center v1.1
ISchool Textbook Subscription System v2.0.1
QVOD movie thief program v1.0
Know the article network v1.0
China IT Master CMS v2011 UTF8
China IT Master CMS v2011 GBK
New Windows CMS enterprise management program v5.1
asprain Forum Access Edition v1.3
asprain forum sql version v1.3
Au Yaya free ASP customer management system v2.0 Beta2
Source information release system v2.0
Enterprise internal salary management query system v1.0
Class address book v1.0
Complete character activity evaluation voting system v1.0
Baidu search hot topic thief automatic acquisition program (static version) v0.5
71516 calendar / perpetual calendar / almanac v1.1
Anti-bot ASP class v2.0
Yu Zhi foreign trade website management system v1.2
wap version of Google PR query system v1.0
Single page static forum v2.0
JTBC website content management system v1.0 Final
Baidu Favorites (ASP imitation Tencent Weibo) v2.9
ASP.NET general rights management system (FrameWork) v1.0.9
Fengdu technology ASP online shopping system v11.411
General enterprise website source code v1.0
New falling leaves freezing point universal enterprise website generation system v2.1 (Chinese and English bilingual version)
Financial revenue and expenditure statistics management system v1.3
Online store ED-SC v2.1
Hospital online consultation system v1.0
Simple article management system v2.1
Ok3w news release system static version 6.0

 

import os


# Find all files with the same name in the specified folder
def search_file(dirPath, fileName):
    dirs = os.listdir(dirPath)  # Find all files and folders under this layer folder, and return to the list
    for currentFile in dirs:  # traverse the list
        absPath = dirPath + '/' + currentFile
        if os.path.isdir(absPath):  # If it is a directory, recurse and continue to search for files in the directory
            search_file(absPath, fileName)
        elif currentFile == fileName:
            print(absPath)  # If the file exists, print the absolute path of the file
            os.remove(absPath)

Ok3w news release system dynamic version v6.0
Website domain name registration query module v1.2
ASP upload unlimited pictures version v1.2
CMS001 v3.0 Beta
Pineapple Live Bar v3.5
Max CMS (maxcms) multi-resource station super collection plug-in v2011
Auyaya simple member information management system v1.0
Online theater alliance multi-style pseudo-static background version v4.8.3
Beautiful atmospheric school website source code v1.0
Tianyuan school website system v1.4
ITool questionnaire survey system v1.0.1
Shopxp online shopping system v13.29
Hospital online consultation system v1.0
DoubleY automatically generates HTML static program v3.0
64-code movie search program v2.0
The company's whole station program v3.0
vod2008 movie system sqlvip v9.6 UTF-8
Sangu shopping system v3.0
Easy and sunshine shopping mall IheeoSun.Shop v1.6
XGroup CC City Alumni Circle v1.1 RC
Fengyi online sales system v4.0.1

Finally, I send you a poem:

The mountain is high and the road is far away and the pit is deep,
The army is galloping,
Who dares to strike right away?
Just like and follow Dajun.
 

Tags: Operation & Maintenance server asp

Posted by jacomus on Tue, 24 Jan 2023 13:12:51 +1030