Make a python script to fetch some content from a website
$10-30 USD
Kansellert
Lagt ut over 8 år siden
$10-30 USD
Betalt ved levering
TVE is the national Spanish television. On its website people can see most of the TV programs they make. For some of the programs, people can see transcriptions (subtitles) on the right side of the actual video.
For instance this is one such page:
[login to view URL]
I need a python script to fetch the transcription from the webpage.
On the right side of the page we can see the title \" Transcripción completa\", and under it is the actual transcription. The actual transcription starts with the text \"Muy buenas tardes\" and ends with \" Hasta mañana, \"A punto con la 2\".
The python script would take two arguments:
- The URL of the webpage
- The name of the output file.
The python script would then extract the transcription text and save it in the file. Only the actual text should be saved, not the eventual time information for the subtitles that may be present in the page.
Hi this BID is to deliver the script in JAVA... If you are ok I'm ready for the task. Please see my reviews and previous projects. Can we discuss the details further? Waiting for your reply!
Hello. I am interested in your project and I can write a python script to extract the subtitle information without the time and store it in a specified text file.
Contact me on freelancer for further discussion
Hi,
I have already written 98% of the script. Select me and I shall send you the script immediately. I only have a couple of clarifications to make so that the scrip behave EXACTLY the way you want it to.
1) Do you want the URL and output file name to be passed as command line arguments or would you prefer the script to interactively ask for each argument after it is run? (This change will take only a couple of minutes).
2) In the output file, do you want the new line characters stripped or left as is? In other words, would you like Muy buenas tardes y bienvenidos al primer programa de 2016. AND
En "A punto con la 2" les deseamos que se cumplan todos sus sueños
to be written on a single line or split into different lines as they are on the web page? (changing this will only take a second)
Thanks & Regards
Dylan.