Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-30-2013, 04:26 PM   #1
96ukssob
So Fucking Banananananas
 
96ukssob's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: If I was in your ass you'd know it
Posts: 12,991
Website scraping for CODE on page

I'm trying to find where some of these old tracking codes are on a site so they can be removed. Essentially, it's tracking code in a javascript snippet placed on various pages.

Problem is there is over 800 pages. Most of the pages are just templates with content published, however some of them had hard coded text place in.

So I was wondering where can I find a magic tool that I can plug in the URL or site map, it craws every page and looks for pages were certain text appears in the source code.

__________________
Email: Clicky on Me
96ukssob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-30-2013, 05:45 PM   #2
tokmansta
Confirmed User
 
Industry Role:
Join Date: Jan 2013
Posts: 566
If it is on your own server and it is running linux, you can do it with the find command

find . | xargs grep 'code-you-want-to-find' -sl
tokmansta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-30-2013, 07:25 PM   #3
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
i guess the pages are static. and if those are on your server then you can use above linux command.

or just download all on windows and use notepad++

in notepad++
you can find specific text in files in specific directories and subdirectoris too.
and at the same time you can replace it too.
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.