Search Results

Search: Posts Made By: jhampt
2,177
Posted By jhampt
Help with Python Code Whitespace
Hello All,

I have some python code that pulls together titles and displays them on web pages.

Here is the section of code I am struggling with:

#string to grab title

titlePattern...
5,120
Posted By jhampt
You would be correct. It was just handed off to...
You would be correct. It was just handed off to me.

Since there are thousands of pages and titles this approach may not work?

thanks for your assistance.
5,120
Posted By jhampt
No the tabs are in the middle of the Titles. ...
No the tabs are in the middle of the Titles.

"This is [tab, tab] a title".

I am trying to turn that into:

"This is a title"

Of course there are 1000's of titles so they are not all the...
5,120
Posted By jhampt
Python - how to get rid of whitespace
Hello,

I am trying to figure out how to get rid of whitespace that is in certain areas (Title) of HTML pages that are created be a python script.

IE:

This is the title....
2,996
Posted By jhampt
Another solution is to use: grep...
Another solution is to use:
grep "/products/2009" after the get command but how would I only grep for a specific timeframe.... ie 30 days
2,996
Posted By jhampt
The content is on our intranet and I am unable to...
The content is on our intranet and I am unable to disclose the specifics. It is bascially a website were analyst post their findings. I need to pull these posting every 30 days into a directory and...
2,996
Posted By jhampt
Help with shell script "wget"
I am trying to gather a list of files (products) every 30 days that have been added to a website. First it will delete the files that are already in the directory from 30 days ago. Then it will it...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 02:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy